mirror of
https://github.com/zeromq/libzmq.git
synced 2025-09-17 19:44:01 +02:00
Problem: mismatching declarations and definitions break Solaris Studio build
Solution: add missing const qualifier to internal functions
This commit is contained in:
parent
8b82ed50a2
commit
b78cfb2395
@ -288,11 +288,11 @@ int do_getsockopt (void *const optval_,
|
||||
|
||||
int do_setsockopt_int_as_bool_strict (const void *const optval_,
|
||||
const size_t optvallen_,
|
||||
bool *out_value_);
|
||||
bool *const out_value_);
|
||||
|
||||
int do_setsockopt_int_as_bool_relaxed (const void *const optval_,
|
||||
const size_t optvallen_,
|
||||
bool *out_value_);
|
||||
bool *const out_value_);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -67,7 +67,7 @@ int tcp_read (fd_t s_, void *data_, size_t size_);
|
||||
// on network errors such as reset or aborted connections.
|
||||
void tcp_assert_tuning_error (fd_t s_, int rc_);
|
||||
|
||||
void tcp_tune_loopback_fast_path (fd_t socket_);
|
||||
void tcp_tune_loopback_fast_path (const fd_t socket_);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user