summaryrefslogtreecommitdiffstats
path: root/sys/libkern/strcat.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-08-22 20:08:07 +0000
committerjhb <jhb@FreeBSD.org>2002-08-22 20:08:07 +0000
commit7c4d6e48338b051fe9fa9ff4a0705ab1ce42cdb1 (patch)
tree6120562cdf5bfac9e1f2c4c9997aca24ef1930b2 /sys/libkern/strcat.c
parent4fd36731e0f32bd089f6de3bfb1e433b9aa9fbf2 (diff)
downloadFreeBSD-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/strcat.c')
-rw-r--r--sys/libkern/strcat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/strcat.c b/sys/libkern/strcat.c
index 2d9da76..e517c08 100644
--- a/sys/libkern/strcat.c
+++ b/sys/libkern/strcat.c
@@ -33,7 +33,7 @@
* $FreeBSD$
*/
-#include <string.h>
+#include <sys/libkern.h>
char *
strcat(s, append)
OpenPOWER on IntegriCloud