From ce0f3f9934465ade07dd77af49a29b527a94d735 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 7 Sep 2024 14:35:46 -0700 Subject: Drop unused nng_msg_getopt --- src/nng_legacy.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2