aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-05-04 17:48:45 -0500
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-05-05 18:24:35 -0500
commitbefe2896c97e09bd30702f3614677238a05c3844 (patch)
treea621d354c09fd1f366fd0a6618337ff71c086506
parent9794feed8fcd22343c05cd50f38a65e08dc3dda9 (diff)
downloadman-pages-befe2896c97e09bd30702f3614677238a05c3844.tar.gz
tsearch.3: Reformat twalk() and twalk_r() prototypes for easier readability
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/tsearch.312
1 files changed, 7 insertions, 5 deletions
diff --git a/man3/tsearch.3 b/man3/tsearch.3
index b47c2d2370..a3df9617ae 100644
--- a/man3/tsearch.3
+++ b/man3/tsearch.3
@@ -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