Hi Martin,

thanks for reporting the issue in the manual page.

Martin Vahlensieck wrote on Sat, Mar 28, 2020 at 09:06:54PM +0100:

> Unless I miss something ERR_print_errors_cb returns no value as well.

Actually, i committed about the opposite, for the reasons explained
in the commit message.  These were stragglers; i already deleted
most such sentences long ago.

The committed patch follows...

Yours,
  Ingo


CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2020/03/28 16:40:58

Modified files:
        lib/libcrypto/man: ERR_print_errors.3 ERR_remove_state.3 
                           lh_new.3 

Log message:
Be concise: do not say that void functions return no values, that's obvious.
Useless text reported by Martin Vahlensieck (academicsolutions.ch) on tech@.


Index: ERR_print_errors.3
===================================================================
RCS file: /cvs/src/lib/libcrypto/man/ERR_print_errors.3,v
retrieving revision 1.7
diff -u -r1.7 ERR_print_errors.3
--- ERR_print_errors.3  27 Mar 2018 17:35:50 -0000      1.7
+++ ERR_print_errors.3  28 Mar 2020 22:36:47 -0000
@@ -103,11 +103,6 @@
 .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 ,
Index: ERR_remove_state.3
===================================================================
RCS file: /cvs/src/lib/libcrypto/man/ERR_remove_state.3,v
retrieving revision 1.6
diff -u -r1.6 ERR_remove_state.3
--- ERR_remove_state.3  27 Mar 2018 17:35:50 -0000      1.6
+++ ERR_remove_state.3  28 Mar 2020 22:36:48 -0000
@@ -92,11 +92,6 @@
 .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
Index: lh_new.3
===================================================================
RCS file: /cvs/src/lib/libcrypto/man/lh_new.3,v
retrieving revision 1.6
diff -u -r1.6 lh_new.3
--- lh_new.3    10 Jun 2019 09:49:48 -0000      1.6
+++ lh_new.3    28 Mar 2020 22:36:48 -0000
@@ -402,12 +402,6 @@
 .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

Reply via email to