aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nng_legacy.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/nng_legacy.c b/src/nng_legacy.c
index 3dadc4e3..bbaba36f 100644
--- a/src/nng_legacy.c
+++ b/src/nng_legacy.c
@@ -14,19 +14,6 @@
// Eventually they will likely be removed. For now we have
// to continue to provide them for compatibility.
-// This function is not supported, but we keep it around to
-// satisfy link dependencies in old programs. It has never done
-// anything useful.
-int
-nng_msg_getopt(nng_msg *msg, int opt, void *ptr, size_t *szp)
-{
- NNI_ARG_UNUSED(msg);
- NNI_ARG_UNUSED(opt);
- NNI_ARG_UNUSED(ptr);
- NNI_ARG_UNUSED(szp);
- return (NNG_ENOTSUP);
-}
-
int
nng_getopt(nng_socket id, const char *n, void *v, size_t *sz)
{