summaryrefslogtreecommitdiff
path: root/libc/misc/search
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:23:36 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:23:36 +0000
commit1f020b178664857b0e107778d04fb971a58e6230 (patch)
treec1cd86593b5d354091e0fa3201c5789bec5c53ad /libc/misc/search
parentf1775381f91f1250b20f1949dfd0364ddb0ee9fc (diff)
- trim any trailing whitespace
Diffstat (limited to 'libc/misc/search')
-rw-r--r--libc/misc/search/_lsearch.c4
-rw-r--r--libc/misc/search/_tsearch.c2
2 files changed, 3 insertions, 3 deletions
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