summaryrefslogtreecommitdiff
path: root/libc/misc/search
diff options
context:
space:
mode:
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