From 1f020b178664857b0e107778d04fb971a58e6230 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 23 Jul 2008 11:23:36 +0000 Subject: - trim any trailing whitespace --- libc/misc/search/_lsearch.c | 4 ++-- libc/misc/search/_tsearch.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/misc/search') diff --git a/libc/misc/search/_lsearch.c b/libc/misc/search/_lsearch.c index 6c3afcba1..e91ea9441 100644 --- a/libc/misc/search/_lsearch.c +++ b/libc/misc/search/_lsearch.c @@ -1,7 +1,7 @@ /* * This file lifted in toto from 'Dlibs' on the atari ST (RdeBath) * - * + * * Dale Schumacher 399 Beacon Ave. * (alias: Dalnefre') St. Paul, MN 55104 * dal@syntel.UUCP United States of America @@ -36,7 +36,7 @@ libc_hidden_def(lfind) /* Experimentally off - libc_hidden_proto(memcpy) */ -void *lsearch(const void *key, void *base, size_t *nmemb, +void *lsearch(const void *key, void *base, size_t *nmemb, size_t size, int (*compar)(const void *, const void *)) { register char *p; diff --git a/libc/misc/search/_tsearch.c b/libc/misc/search/_tsearch.c index 989710e08..3d43aa543 100644 --- a/libc/misc/search/_tsearch.c +++ b/libc/misc/search/_tsearch.c @@ -177,7 +177,7 @@ static void trecurse(__const void *vroot, __action_fn_t action, int level) } } -/* void twalk(root, action) Walk the nodes of a tree +/* void twalk(root, action) Walk the nodes of a tree node *root; Root of the tree to be walked void (*action)(); Function to be called at each node PTR -- cgit v1.2.3