summaryrefslogtreecommitdiff
path: root/lib/libcompat/4.3/lsearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcompat/4.3/lsearch.c')
-rw-r--r--lib/libcompat/4.3/lsearch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libcompat/4.3/lsearch.c b/lib/libcompat/4.3/lsearch.c
index 9cc27856bb3..23ad2c40ca6 100644
--- a/lib/libcompat/4.3/lsearch.c
+++ b/lib/libcompat/4.3/lsearch.c
@@ -43,8 +43,8 @@ static char sccsid[] = "@(#)lsearch.c 8.1 (Berkeley) 6/4/93";
#include <search.h>
typedef int (*cmp_fn_t)(const void *, const void *);
-static void *linear_base __P((const void *, const void *, size_t *, size_t,
- cmp_fn_t, int));
+static void *linear_base(const void *, const void *, size_t *, size_t,
+ cmp_fn_t, int);
void *
lsearch(key, base, nelp, width, compar)
@@ -52,6 +52,7 @@ lsearch(key, base, nelp, width, compar)
size_t *nelp, width;
cmp_fn_t compar;
{
+
return(linear_base(key, base, nelp, width, compar, 1));
}