From 1f6370f3f44e99699e159c9c4b8ed2c8bfd7bf1c Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Sat, 28 Mar 2020 22:40:58 +0000 Subject: Be concise: do not say that void functions return no values, that's obvious. Useless text reported by Martin Vahlensieck (academicsolutions.ch) on tech@. --- src/lib/libcrypto/man/ERR_print_errors.3 | 9 ++------- src/lib/libcrypto/man/ERR_remove_state.3 | 9 ++------- src/lib/libcrypto/man/lh_new.3 | 10 ++-------- 3 files changed, 6 insertions(+), 22 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/man/ERR_print_errors.3 b/src/lib/libcrypto/man/ERR_print_errors.3 index a6fdbc0cdb..a5c7c03287 100644 --- a/src/lib/libcrypto/man/ERR_print_errors.3 +++ b/src/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/src/lib/libcrypto/man/ERR_remove_state.3 b/src/lib/libcrypto/man/ERR_remove_state.3 index 0a87978227..bc28f15dea 100644 --- a/src/lib/libcrypto/man/ERR_remove_state.3 +++ b/src/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/src/lib/libcrypto/man/lh_new.3 b/src/lib/libcrypto/man/lh_new.3 index 987b394f4b..1c37347ef6 100644 --- a/src/lib/libcrypto/man/lh_new.3 +++ b/src/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 -- cgit v1.2.3-55-g6feb