summaryrefslogtreecommitdiff
path: root/libc/misc/lsearch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
commit2512c847453c24b928c34beed88902fbb6877b7a (patch)
tree3d327c54c00684b85c435cffa29c5050888c0a69 /libc/misc/lsearch
parente83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5 (diff)
Update to accomodate the header file changes
Diffstat (limited to 'libc/misc/lsearch')
-rw-r--r--libc/misc/lsearch/lsearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/lsearch/lsearch.c b/libc/misc/lsearch/lsearch.c
index aed4b1e7d..ace739211 100644
--- a/libc/misc/lsearch/lsearch.c
+++ b/libc/misc/lsearch/lsearch.c
@@ -8,6 +8,7 @@
* "It's not reality that's important, but how you perceive things."
*/
+#include <string.h>
#include <stdio.h>
char *lfind(key, base, num, size, cmp)
@@ -33,7 +34,6 @@ register unsigned int size;
int (*cmp) ();
{
register char *p;
- char *memcpy();
if ((p = lfind(key, base, num, size, cmp)) == NULL) {
p = memcpy((base + (size * (*num))), key, size);