PERFORCE change 18991 for review
Robert Watson
rwatson at freebsd.org
Wed Oct 9 21:18:16 GMT 2002
http://perforce.freebsd.org/p4db/chv.cgi?CH=18991
Change 18991 by rwatson at rwatson_tislabs on 2002/10/09 14:18:13
Hook up strsep, make it build.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/conf/files#56 edit
.. //depot/projects/trustedbsd/mac/sys/libkern/strsep.c#2 edit
.. //depot/projects/trustedbsd/mac/sys/sys/libkern.h#6 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/conf/files#56 (text+ko) ====
@@ -1042,6 +1042,7 @@
libkern/strlen.c standard
libkern/strncmp.c standard
libkern/strncpy.c standard
+libkern/strsep.c standard
libkern/strtol.c standard
libkern/strtoq.c standard
libkern/strtoul.c standard
==== //depot/projects/trustedbsd/mac/sys/libkern/strsep.c#2 (text+ko) ====
@@ -37,8 +37,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: src/lib/libc/string/strsep.c,v 1.5 2002/03/21 18:44:54 obrien Exp $");
-#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
==== //depot/projects/trustedbsd/mac/sys/sys/libkern.h#6 (text+ko) ====
@@ -91,6 +91,7 @@
size_t strlen(const char *);
int strncmp(const char *, const char *, size_t);
char *strncpy(char *, const char *, size_t);
+char *strsep(char **, const char *delim);
int strvalid(const char *, size_t);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list