diff options
author | Min Ragan-Kelley <benjaminrk@gmail.com> | 2011-01-06 08:42:57 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-01-06 08:42:57 +0100 |
commit | 08cd2ce05da74143b6154f7d665756870077c38d (patch) | |
tree | ded1340510dd67a84cd58182efe3cfa2536481be /include/zmq_utils.h | |
parent | 472bdcd6b4995d2ab92e97aafa898f083ce1f3ba (diff) |
resolve "function declaration isn't a prototype"
change two declarations in headers to form f(void); instead of f();
which eliminates the warnings when compiling against zeromq
Signed-off-by: MinRK <benjaminrk@gmail.com>
Diffstat (limited to 'include/zmq_utils.h')
-rw-r--r-- | include/zmq_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |