Loading...
stdlib/FreeBSD/twalk.c Libc-1725.40.4 Libc-320
--- Libc/Libc-1725.40.4/stdlib/FreeBSD/twalk.c
+++ Libc/Libc-320/stdlib/FreeBSD/twalk.c
@@ -28,8 +28,10 @@
 
 /* Walk the nodes of a tree */
 static void
-trecurse(const node_t *root, void (*action)(const void *, VISIT, int),
-    int level)
+trecurse(root, action, level)
+	const node_t *root;	/* Root of the tree to be walked */
+	void (*action)(const void *, VISIT, int);
+	int level;
 {
 
 	if (root->llink == NULL && root->rlink == NULL)
@@ -47,7 +49,9 @@
 
 /* Walk the nodes of a tree */
 void
-twalk(const void *vroot, void (*action)(const void *, VISIT, int))
+twalk(vroot, action)
+	const void *vroot;	/* Root of the tree to be walked */
+	void (*action)(const void *, VISIT, int);
 {
 	if (vroot != NULL && action != NULL)
 		trecurse(vroot, action, 0);