diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/nng_impl.h | 2 | ||||
| -rw-r--r-- | src/platform/posix/posix_socketpair.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/nng_impl.h b/src/core/nng_impl.h index b45a3712..4fe80e63 100644 --- a/src/core/nng_impl.h +++ b/src/core/nng_impl.h @@ -22,7 +22,7 @@ // Symbols that are private to the library begin with the nni_ prefix, whereas // those starting with nng_ are intended for external consumption. The latter // symbols should be found in the toplevel nng.h header. -#include "core/defs.h" +#include "defs.h" #include "core/platform.h" diff --git a/src/platform/posix/posix_socketpair.c b/src/platform/posix/posix_socketpair.c index b2d3ef4d..7591eb88 100644 --- a/src/platform/posix/posix_socketpair.c +++ b/src/platform/posix/posix_socketpair.c @@ -40,6 +40,7 @@ nni_socket_pair(int fds[2]) nng_err nni_socket_pair(int fds[2]) { + NNI_ARG_UNUSED(fds); return (NNG_ENOTSUP); } #endif |
