summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/twalk.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib/twalk.c')
-rw-r--r--lib/libc/stdlib/twalk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/twalk.c b/lib/libc/stdlib/twalk.c
index eab71df638ca6..78d368511e8e6 100644
--- a/lib/libc/stdlib/twalk.c
+++ b/lib/libc/stdlib/twalk.c
@@ -29,7 +29,7 @@ static void trecurse __P((const node_t *,
static void
trecurse(root, action, level)
const node_t *root; /* Root of the tree to be walked */
- void (*action) __P((const void *, VISIT, int));
+ void (*action)(const void *, VISIT, int);
int level;
{
@@ -50,7 +50,7 @@ trecurse(root, action, level)
void
twalk(vroot, action)
const void *vroot; /* Root of the tree to be walked */
- void (*action) __P((const void *, VISIT, int));
+ void (*action)(const void *, VISIT, int);
{
if (vroot != NULL && action != NULL)
trecurse(vroot, action, 0);