aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http/http_public.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-12 10:42:54 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-12 10:52:03 -0800
commitc34abc224e572b19fb5aa1b5afc8841705485d14 (patch)
tree82f6a936ae84fbece104dfb07b0b7c9ac0581dc8 /src/supplemental/http/http_public.c
parente5721f6b4dd7e4084a14b6f2f38bfb3672796ac9 (diff)
downloadnng-c34abc224e572b19fb5aa1b5afc8841705485d14.tar.gz
nng-c34abc224e572b19fb5aa1b5afc8841705485d14.tar.bz2
nng-c34abc224e572b19fb5aa1b5afc8841705485d14.zip
http: remove unused nng_http_handler_get_data
The data is now passed directly to the handler function.
Diffstat (limited to 'src/supplemental/http/http_public.c')
-rw-r--r--src/supplemental/http/http_public.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/supplemental/http/http_public.c b/src/supplemental/http/http_public.c
index 8210224b..9c4145fd 100644
--- a/src/supplemental/http/http_public.c
+++ b/src/supplemental/http/http_public.c
@@ -434,17 +434,6 @@ nng_http_handler_set_data(nng_http_handler *h, void *dat, void (*dtor)(void *))
#endif
}
-void *
-nng_http_handler_get_data(nng_http_handler *h)
-{
-#ifdef NNG_SUPP_HTTP
- return (nni_http_handler_get_data(h));
-#else
- NNI_ARG_UNUSED(h);
- return (NULL);
-#endif
-}
-
int
nng_http_server_hold(nng_http_server **srvp, const nng_url *url)
{