From 113e3606bd1a763850db1afee336bb0d5d434317 Mon Sep 17 00:00:00 2001
From: Garrett D'Amore <garrett@damore.org>
Date: Sun, 22 Dec 2024 12:41:44 -0800
Subject: http: nng_http_handler_set_data is now void return (API break)

---
 docs/man/nng_http_handler_set_data.3http.adoc | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

(limited to 'docs/man/nng_http_handler_set_data.3http.adoc')

diff --git a/docs/man/nng_http_handler_set_data.3http.adoc b/docs/man/nng_http_handler_set_data.3http.adoc
index cb94adbc..94cb9b4c 100644
--- a/docs/man/nng_http_handler_set_data.3http.adoc
+++ b/docs/man/nng_http_handler_set_data.3http.adoc
@@ -1,6 +1,6 @@
 = nng_http_handler_set_data(3http)
 //
-// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
 // Copyright 2018 Capitar IT Group BV <info@capitar.com>
 //
 // This document is supplied under the terms of the MIT License, a
@@ -20,7 +20,7 @@ nng_http_handler_set_data - set extra data for HTTP handler
 #include <nng/nng.h>
 #include <nng/supplemental/http/http.h>
 
-int nng_http_handler_set_data(nng_http_handler *handler, void *data,
+void nng_http_handler_set_data(nng_http_handler *handler, void *data,
     void (*dtor)(void *));
 ----
 
@@ -36,16 +36,6 @@ then it will be called with _data_ as its argument.
 The intended use of
 this function is deallocate any resources associated with _data_.
 
-== RETURN VALUES
-
-This function returns 0 on success, and non-zero otherwise.
-
-== ERRORS
-
-[horizontal]
-`NNG_ENOMEM`:: Insufficient free memory to perform the operation.
-`NNG_ENOTSUP`:: No support for HTTP in the library.
-
 == SEE ALSO
 
 [.text-left]
-- 
cgit v1.2.3-70-g09d2

