]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
tsearch.3: Reformat twalk() and twalk_r() prototypes for easier readability
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 4 May 2019 22:48:45 +0000 (17:48 -0500)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 5 May 2019 23:24:35 +0000 (18:24 -0500)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/tsearch.3

index b47c2d2370358d4efc697ee2eeb49d87c172a9b5..a3df9617aef99230876ef636b9a781a7fb54eff4 100644 (file)
@@ -40,15 +40,17 @@ tsearch, tfind, tdelete, twalk, tdestroy \- manage a binary search tree
 .BI "void *tdelete(const void *" key ", void **" rootp ,
 .BI "                int (*" compar ")(const void *, const void *));"
 .PP
-.BI "void twalk(const void *" root ", void (*" action ")(const void *" nodep ,
-.BI "                                   VISIT " which ", int " depth "));"
+.BI "void twalk(const void *" root ,
+.BI "                void (*" action ")(const void *" nodep ", VISIT " which ,
+.BI "                               int " depth "));"
 .PP
 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
 .B #include <search.h>
 .PP
-.BI "void twalk_r(const void *" root ", void (*" action ")(const void *" np ,
-.BI "                                   VISIT " which ", void *" closure "),
-.BI "                                   void *" closure );
+.BI "void twalk_r(const void *" root ,
+.BI "                void (*" action ")(const void *" np ", VISIT " which ,
+.BI "                               void *" closure "),
+.BI "                void *" closure );
 .PP
 .BI "void tdestroy(void *" root ", void (*" free_node ")(void *" nodep ));
 .fi