Problem: local functions not declared static

Solution: add static
This commit is contained in:
Simon Giesecke
2019-12-23 13:39:40 +01:00
parent fa804c7783
commit 14ab794671
4 changed files with 20 additions and 21 deletions

View File

@@ -63,7 +63,7 @@
#define ZMQ_CTX_TAG_VALUE_GOOD 0xabadcafe
#define ZMQ_CTX_TAG_VALUE_BAD 0xdeadbeef
int clipped_maxsocket (int max_requested_)
static int clipped_maxsocket (int max_requested_)
{
if (max_requested_ >= zmq::poller_t::max_fds ()
&& zmq::poller_t::max_fds () != -1)