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:
parent
12a97bb769
commit
37344d0b7c
@ -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 ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user