Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2002 14:18:16 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 18991 for review
Message-ID:  <200210092118.g99LIGqq051513@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/p4db/chv.cgi?CH=18991

Change 18991 by rwatson@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@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210092118.g99LIGqq051513>