summaryrefslogtreecommitdiffstats
path: root/newlib/libc/search/tdestroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/search/tdestroy.c')
-rw-r--r--newlib/libc/search/tdestroy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/newlib/libc/search/tdestroy.c b/newlib/libc/search/tdestroy.c
index 2f8aae695..3e7327c4d 100644
--- a/newlib/libc/search/tdestroy.c
+++ b/newlib/libc/search/tdestroy.c
@@ -40,7 +40,9 @@ trecurse(root, free_action)
}
void
-tdestroy (void *vrootp, void (*freefct)(void *))
+_DEFUN(tdestroy, (vrootp, freefct),
+ void *vrootp _AND
+ void (*freefct)(void *))
{
node_t *root = (node_t *) vrootp;