aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-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