summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2020-03-28 22:40:58 +0000
committerschwarze <schwarze@openbsd.org>2020-03-28 22:40:58 +0000
commita6fd0b208e6009bc9f93b83db3a3b18d9a5bea44 (patch)
tree9a7365eb7baebaf4dd26ca23a87a4dad6dcfb4fc
parentPlug some memory leaks. (diff)
downloadwireguard-openbsd-a6fd0b208e6009bc9f93b83db3a3b18d9a5bea44.tar.xz
wireguard-openbsd-a6fd0b208e6009bc9f93b83db3a3b18d9a5bea44.zip
Be concise: do not say that void functions return no values, that's obvious.
Useless text reported by Martin Vahlensieck (academicsolutions.ch) on tech@.
-rw-r--r--lib/libcrypto/man/ERR_print_errors.39
-rw-r--r--lib/libcrypto/man/ERR_remove_state.39
-rw-r--r--lib/libcrypto/man/lh_new.310
3 files changed, 6 insertions, 22 deletions
diff --git a/lib/libcrypto/man/ERR_print_errors.3 b/lib/libcrypto/man/ERR_print_errors.3
index a6fdbc0cdb8..a5c7c032878 100644
--- a/lib/libcrypto/man/ERR_print_errors.3
+++ b/lib/libcrypto/man/ERR_print_errors.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ERR_print_errors.3,v 1.7 2018/03/27 17:35:50 schwarze Exp $
+.\" $OpenBSD: ERR_print_errors.3,v 1.8 2020/03/28 22:40:58 schwarze Exp $
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org>,
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 27 2018 $
+.Dd $Mdocdate: March 28 2020 $
.Dt ERR_PRINT_ERRORS 3
.Os
.Sh NAME
@@ -103,11 +103,6 @@ respective error code.
.Pp
If there is no text string registered for the given error code, the
error string will contain the numeric code.
-.Sh RETURN VALUES
-.Fn ERR_print_errors
-and
-.Fn ERR_print_errors_fp
-return no values.
.Sh SEE ALSO
.Xr ERR 3 ,
.Xr ERR_error_string 3 ,
diff --git a/lib/libcrypto/man/ERR_remove_state.3 b/lib/libcrypto/man/ERR_remove_state.3
index 0a879782278..bc28f15dea1 100644
--- a/lib/libcrypto/man/ERR_remove_state.3
+++ b/lib/libcrypto/man/ERR_remove_state.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ERR_remove_state.3,v 1.6 2018/03/27 17:35:50 schwarze Exp $
+.\" $OpenBSD: ERR_remove_state.3,v 1.7 2020/03/28 22:40:58 schwarze Exp $
.\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400
.\"
.\" This file was written by Ulf Moeller <ulf@openssl.org> and
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 27 2018 $
+.Dd $Mdocdate: March 28 2020 $
.Dt ERR_REMOVE_STATE 3
.Os
.Sh NAME
@@ -92,11 +92,6 @@ Calling
.Fn ERR_remove_state
is equivalent to
.Fn ERR_remove_thread_state NULL .
-.Sh RETURN VALUES
-.Fn ERR_remove_thread_state
-and
-.Fn ERR_remove_state
-return no value.
.Sh SEE ALSO
.Xr ERR 3
.Sh HISTORY
diff --git a/lib/libcrypto/man/lh_new.3 b/lib/libcrypto/man/lh_new.3
index 987b394f4b8..1c37347ef6c 100644
--- a/lib/libcrypto/man/lh_new.3
+++ b/lib/libcrypto/man/lh_new.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lh_new.3,v 1.6 2019/06/10 09:49:48 schwarze Exp $
+.\" $OpenBSD: lh_new.3,v 1.7 2020/03/28 22:40:58 schwarze Exp $
.\" OpenSSL 1bc74519 May 20 08:11:46 2016 -0400
.\"
.\" --------------------------------------------------------------------------
@@ -115,7 +115,7 @@
.\" copied and put under another distribution licence
.\" [including the GNU Public Licence.]
.\"
-.Dd $Mdocdate: June 10 2019 $
+.Dd $Mdocdate: March 28 2020 $
.Dt LH_NEW 3
.Os
.Sh NAME
@@ -402,12 +402,6 @@ otherwise.
.Pp
.Fn lh_<type>_error
returns 1 if an error occurred in the last operation, or 0 otherwise.
-.Pp
-.Fn lh_<type>_free ,
-.Fn lh_<type>_doall ,
-and
-.Fn lh_<type>_doall_arg
-return no values.
.Sh NOTES
The various LHASH macros and callback types exist to make it possible to
write type-checked code without resorting to function-prototype casting