diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/string/strncmp.c | 6 |
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";*/ |
| 36 | static char *rcsid = "$Id: strncmp.c,v 1.1.1.1 1995/10/18 08:42:23 deraadt Exp $"; | 36 | static 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 | ||
| 41 | int | 45 | int |
| 42 | strncmp(s1, s2, n) | 46 | strncmp(s1, s2, n) |
