summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/zmq.h2
-rw-r--r--include/zmq_utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/zmq.h b/include/zmq.h
index a773f45..2852886 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -108,7 +108,7 @@ ZMQ_EXPORT void zmq_version (int *major, int *minor, int *patch);
/* of this function is to make the code 100% portable, including where 0MQ */
/* compiled with certain CRT library (on Windows) is linked to an */
/* application that uses different CRT library. */
-ZMQ_EXPORT int zmq_errno ();
+ZMQ_EXPORT int zmq_errno (void);
/* Resolves system errors and 0MQ errors to human-readable string. */
ZMQ_EXPORT const char *zmq_strerror (int errnum);
diff --git a/include/zmq_utils.h b/include/zmq_utils.h
index 4a0d119..9911b4e 100644
--- a/include/zmq_utils.h
+++ b/include/zmq_utils.h
@@ -45,7 +45,7 @@ extern "C" {
/* about minutiae of time-related functions on different OS platforms. */
/* Starts the stopwatch. Returns the handle to the watch. */
-ZMQ_EXPORT void *zmq_stopwatch_start ();
+ZMQ_EXPORT void *zmq_stopwatch_start (void);
/* Stops the stopwatch. Returns the number of microseconds elapsed since */
/* the stopwatch was started. */