Commit 37344d0b authored by Simon Giesecke's avatar Simon Giesecke

Problem: redundant old-style void argument declarations

Solution: remove
parent 12a97bb7
......@@ -444,7 +444,7 @@ void zmq::print_backtrace (void)
#else
void zmq::print_backtrace (void)
void zmq::print_backtrace ()
{
}
......
......@@ -65,7 +65,7 @@ __declspec(noreturn) void zmq_abort (const char *errmsg_);
#else
void zmq_abort (const char *errmsg_);
#endif
void print_backtrace (void);
void print_backtrace ();
}
#ifdef ZMQ_HAVE_WINDOWS
......
......@@ -157,12 +157,12 @@ static void manage_random (bool init_)
#endif
}
void zmq::random_open (void)
void zmq::random_open ()
{
manage_random (true);
}
void zmq::random_close (void)
void zmq::random_close ()
{
manage_random (false);
}
......@@ -369,7 +369,7 @@ int zmq::router_t::xrecv (msg_t *msg_)
return 0;
}
int zmq::router_t::rollback (void)
int zmq::router_t::rollback ()
{
if (current_out) {
current_out->rollback ();
......
......@@ -77,7 +77,7 @@ class socket_poller_t
int wait (event_t *event_, int n_events_, long timeout_);
inline int size (void) { return static_cast<int> (items.size ()); };
inline int size () { return static_cast<int> (items.size ()); };
// Return false if object is not a socket.
bool check_tag ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment