aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http/http_public.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/supplemental/http/http_public.c')
-rw-r--r--src/supplemental/http/http_public.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/supplemental/http/http_public.c b/src/supplemental/http/http_public.c
index 58550a3f..f85eca64 100644
--- a/src/supplemental/http/http_public.c
+++ b/src/supplemental/http/http_public.c
@@ -619,25 +619,23 @@ nng_http_handler_set_host(nng_http_handler *h, const char *host)
#endif
}
-int
+void
nng_http_handler_set_tree(nng_http_handler *h)
{
#ifdef NNG_SUPP_HTTP
- return (nni_http_handler_set_tree(h));
+ nni_http_handler_set_tree(h);
#else
NNI_ARG_UNUSED(h);
- return (NNG_ENOTSUP);
#endif
}
-int
+void
nng_http_handler_set_tree_exclusive(nng_http_handler *h)
{
#ifdef NNG_SUPP_HTTP
- return (nni_http_handler_set_tree_exclusive(h));
+ nni_http_handler_set_tree_exclusive(h);
#else
NNI_ARG_UNUSED(h);
- return (NNG_ENOTSUP);
#endif
}