From 6a5d5efd3ba1d74ad5f4f200418da0ba83ca9efa Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 14 Dec 2016 16:36:50 -0800 Subject: Better separate public vs. private names. --- src/nng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nng.h') diff --git a/src/nng.h b/src/nng.h index 1267d0a3..a9357f4a 100644 --- a/src/nng.h +++ b/src/nng.h @@ -88,7 +88,7 @@ uint16_t nng_socket_protocol(nng_socket_t); /* * nng_socket_setopt sets an option for a specific socket. */ -NNG_DECL int nng_socket_setopt(nng_socket_t, int, void *, size_t); +NNG_DECL int nng_socket_setopt(nng_socket_t, int, const void *, size_t); /* * nng_socket_getopt obtains the option for a socket. -- cgit v1.2.3-70-g09d2