summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strncmp.c
diff options
context:
space:
mode:
authorderaadt <>1996-05-01 12:57:54 +0000
committerderaadt <>1996-05-01 12:57:54 +0000
commit2686d34ae2184cc85034a4afb5eacf55b9732934 (patch)
tree70f1f93a5298feae7003283e3209b83aec055f19 /src/lib/libc/string/strncmp.c
parent1bff96637c43ff8d699b4b2095e0b6ad787e7e76 (diff)
downloadopenbsd-2686d34ae2184cc85034a4afb5eacf55b9732934.tar.gz
openbsd-2686d34ae2184cc85034a4afb5eacf55b9732934.tar.bz2
openbsd-2686d34ae2184cc85034a4afb5eacf55b9732934.zip
switch on _KERNEL to load proper include file
Diffstat (limited to 'src/lib/libc/string/strncmp.c')
-rw-r--r--src/lib/libc/string/strncmp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libc/string/strncmp.c b/src/lib/libc/string/strncmp.c
index 0638d4dcf2..43217391d0 100644
--- a/src/lib/libc/string/strncmp.c
+++ b/src/lib/libc/string/strncmp.c
@@ -33,10 +33,14 @@
33 33
34#if defined(LIBC_SCCS) && !defined(lint) 34#if defined(LIBC_SCCS) && !defined(lint)
35/*static char *sccsid = "from: @(#)strncmp.c 5.6 (Berkeley) 1/26/91";*/ 35/*static char *sccsid = "from: @(#)strncmp.c 5.6 (Berkeley) 1/26/91";*/
36static char *rcsid = "$Id: strncmp.c,v 1.1.1.1 1995/10/18 08:42:23 deraadt Exp $"; 36static char *rcsid = "$Id: strncmp.c,v 1.2 1996/05/01 12:57:54 deraadt Exp $";
37#endif /* LIBC_SCCS and not lint */ 37#endif /* LIBC_SCCS and not lint */
38 38
39#ifndef _KERNEL
39#include <string.h> 40#include <string.h>
41#else
42#include <lib/libkern/libkern.h>
43#endif
40 44
41int 45int
42strncmp(s1, s2, n) 46strncmp(s1, s2, n)