diff options
Diffstat (limited to 'newlib/libc/search/tsearch.c')
-rw-r--r-- | newlib/libc/search/tsearch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/search/tsearch.c b/newlib/libc/search/tsearch.c index cda16992e..5f41b407d 100644 --- a/newlib/libc/search/tsearch.c +++ b/newlib/libc/search/tsearch.c @@ -25,10 +25,10 @@ __RCSID("$NetBSD: tsearch.c,v 1.3 1999/09/16 11:45:37 lukem Exp $"); /* find or insert datum into search tree */ void * -tsearch(vkey, vrootp, compar) - const void *vkey; /* key to be located */ - void **vrootp; /* address of tree root */ - int (*compar)(const void *, const void *); +_DEFUN(tsearch, (vkey, vrootp, compar), + const void *vkey _AND /* key to be located */ + void **vrootp _AND /* address of tree root */ + int (*compar)(const void *, const void *)) { node_t *q; node_t **rootp = (node_t **)vrootp; |