summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-10-10 17:02:11 +0000
committerrwatson <rwatson@FreeBSD.org>2002-10-10 17:02:11 +0000
commit919bffa046a021ee536b394fbe122651a8e56421 (patch)
treef080b2d4630568fcd486ae45ebe1084e6705a2e0 /sys/libkern
parent0e095252a26826dde5e578199f4708b57ae56da9 (diff)
downloadFreeBSD-src-919bffa046a021ee536b394fbe122651a8e56421.zip
FreeBSD-src-919bffa046a021ee536b394fbe122651a8e56421.tar.gz
Hook up strsep(3) to libkern following a repo-copy by Peter. This will
allow us to avoid nasty by-hand string parsing stuff in a number of places in the kernel, reducing the risk of unexpected consequences for kernel correctness.
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/strsep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/libkern/strsep.c b/sys/libkern/strsep.c
index dd5ec0b..f481752 100644
--- a/sys/libkern/strsep.c
+++ b/sys/libkern/strsep.c
@@ -37,8 +37,8 @@ static char sccsid[] = "@(#)strsep.c 8.1 (Berkeley) 6/4/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <string.h>
-#include <stdio.h>
+#include <sys/param.h>
+#include <sys/libkern.h>
/*
* Get next token from string *stringp, where tokens are possibly-empty
OpenPOWER on IntegriCloud