mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-06 00:31:13 +01: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
|
#else
|
||||||
|
|
||||||
void zmq::print_backtrace (void)
|
void zmq::print_backtrace ()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ __declspec(noreturn) void zmq_abort (const char *errmsg_);
|
|||||||
#else
|
#else
|
||||||
void zmq_abort (const char *errmsg_);
|
void zmq_abort (const char *errmsg_);
|
||||||
#endif
|
#endif
|
||||||
void print_backtrace (void);
|
void print_backtrace ();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ZMQ_HAVE_WINDOWS
|
#ifdef ZMQ_HAVE_WINDOWS
|
||||||
|
@ -157,12 +157,12 @@ static void manage_random (bool init_)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void zmq::random_open (void)
|
void zmq::random_open ()
|
||||||
{
|
{
|
||||||
manage_random (true);
|
manage_random (true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void zmq::random_close (void)
|
void zmq::random_close ()
|
||||||
{
|
{
|
||||||
manage_random (false);
|
manage_random (false);
|
||||||
}
|
}
|
||||||
|
@ -369,7 +369,7 @@ int zmq::router_t::xrecv (msg_t *msg_)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int zmq::router_t::rollback (void)
|
int zmq::router_t::rollback ()
|
||||||
{
|
{
|
||||||
if (current_out) {
|
if (current_out) {
|
||||||
current_out->rollback ();
|
current_out->rollback ();
|
||||||
|
@ -77,7 +77,7 @@ class socket_poller_t
|
|||||||
|
|
||||||
int wait (event_t *event_, int n_events_, long timeout_);
|
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.
|
// Return false if object is not a socket.
|
||||||
bool check_tag ();
|
bool check_tag ();
|
||||||
|
Loading…
Reference in New Issue
Block a user