summaryrefslogtreecommitdiffstats
path: root/newlib/libc/search/tdelete.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/search/tdelete.c')
-rw-r--r--newlib/libc/search/tdelete.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/search/tdelete.c b/newlib/libc/search/tdelete.c
index e849ada81..e75659913 100644
--- a/newlib/libc/search/tdelete.c
+++ b/newlib/libc/search/tdelete.c
@@ -26,10 +26,10 @@ __RCSID("$NetBSD: tdelete.c,v 1.2 1999/09/16 11:45:37 lukem Exp $");
/* delete node with given key */
void *
-tdelete(vkey, vrootp, compar)
- const void *vkey; /* key to be deleted */
- void **vrootp; /* address of the root of tree */
- int (*compar)(const void *, const void *);
+_DEFUN(tdelete, (vkey, vrootp, compar),
+ const void *vkey _AND /* key to be deleted */
+ void **vrootp _AND /* address of the root of tree */
+ int (*compar)(const void *, const void *))
{
node_t **rootp = (node_t **)vrootp;
node_t *p, *q, *r;