diff options
Diffstat (limited to 'src/lib/libc/string/strncmp.c')
| -rw-r--r-- | src/lib/libc/string/strncmp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libc/string/strncmp.c b/src/lib/libc/string/strncmp.c index 0aea80d7d9..0a4ddc1d9e 100644 --- a/src/lib/libc/string/strncmp.c +++ b/src/lib/libc/string/strncmp.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: strncmp.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */ | 1 | /* $OpenBSD: strncmp.c,v 1.8 2014/06/10 04:17:37 deraadt Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * Copyright (c) 1989 The Regents of the University of California. | 4 | * Copyright (c) 1989 The Regents of the University of California. |
| @@ -29,11 +29,7 @@ | |||
| 29 | * SUCH DAMAGE. | 29 | * SUCH DAMAGE. |
| 30 | */ | 30 | */ |
| 31 | 31 | ||
| 32 | #if !defined(_KERNEL) && !defined(_STANDALONE) | ||
| 33 | #include <string.h> | 32 | #include <string.h> |
| 34 | #else | ||
| 35 | #include <lib/libkern/libkern.h> | ||
| 36 | #endif | ||
| 37 | 33 | ||
| 38 | int | 34 | int |
| 39 | strncmp(const char *s1, const char *s2, size_t n) | 35 | strncmp(const char *s1, const char *s2, size_t n) |
