diff options
author | jhb <jhb@FreeBSD.org> | 2002-08-22 20:08:07 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-08-22 20:08:07 +0000 |
commit | 7c4d6e48338b051fe9fa9ff4a0705ab1ce42cdb1 (patch) | |
tree | 6120562cdf5bfac9e1f2c4c9997aca24ef1930b2 /sys/libkern/strncmp.c | |
parent | 4fd36731e0f32bd089f6de3bfb1e433b9aa9fbf2 (diff) | |
download | FreeBSD-src-7c4d6e48338b051fe9fa9ff4a0705ab1ce42cdb1.zip FreeBSD-src-7c4d6e48338b051fe9fa9ff4a0705ab1ce42cdb1.tar.gz |
Include sys/libkern.h for the kernel prototypes of these libkern functions
instead of including the userland string.h header.
Prompted by: breakage with old string.h from recent machine/types.h fix
Approved by: peter (in principle)
Diffstat (limited to 'sys/libkern/strncmp.c')
-rw-r--r-- | sys/libkern/strncmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/strncmp.c b/sys/libkern/strncmp.c index 523a456..91620e7 100644 --- a/sys/libkern/strncmp.c +++ b/sys/libkern/strncmp.c @@ -33,7 +33,7 @@ * $FreeBSD$ */ -#include <string.h> +#include <sys/libkern.h> int strncmp(s1, s2, n) |