0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Problem: redundant old-style void argument declarations

Solution: remove
This commit is contained in:
Simon Giesecke 2018-05-25 23:14:43 +02:00
parent 12a97bb769
commit 37344d0b7c
5 changed files with 6 additions and 6 deletions

View File

@ -444,7 +444,7 @@ void zmq::print_backtrace (void)
#else
void zmq::print_backtrace (void)
void zmq::print_backtrace ()
{
}

View File

@ -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

View File

@ -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);
}

View File

@ -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 ();

View File

@ -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 ();