diff options
Diffstat (limited to 'newlib/libc/search/twalk.c')
-rw-r--r-- | newlib/libc/search/twalk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/search/twalk.c b/newlib/libc/search/twalk.c index 020e5d5ea..74ad5a615 100644 --- a/newlib/libc/search/twalk.c +++ b/newlib/libc/search/twalk.c @@ -49,9 +49,9 @@ trecurse(root, action, level) /* Walk the nodes of a tree */ void -twalk(vroot, action) - const void *vroot; /* Root of the tree to be walked */ - void (*action)(const void *, VISIT, int); +_DEFUN(twalk, (vroot, action), + const void *vroot _AND /* Root of the tree to be walked */ + void (*action)(const void *, VISIT, int)) { if (vroot != NULL && action != NULL) trecurse(vroot, action, 0); |