From cedb875d61b2e271c7db5af43a81203940baee7a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 24 Aug 2001 21:30:09 +0000 Subject: 2001-08-24 Roland McGrath * Makefile.in (clib-routines): Add strsep. * kern/strings.h (strsep, strchr): Declare them. --- kern/strings.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'kern') diff --git a/kern/strings.h b/kern/strings.h index b71a7b3..225228d 100644 --- a/kern/strings.h +++ b/kern/strings.h @@ -1,25 +1,25 @@ -/* +/* * Mach Operating System * Copyright (c) 1993 Carnegie Mellon University * All Rights Reserved. - * + * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * software, derivative works or modified versions, and any portions * thereof, and that both notices appear in supporting documentation. - * + * * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. - * + * * Carnegie Mellon requests users of this software to return to - * + * * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * School of Computer Science * Carnegie Mellon University * Pittsburgh PA 15213-3890 - * + * * any improvements or extensions that they make and grant Carnegie Mellon * the rights to redistribute these changes. */ @@ -51,3 +51,6 @@ extern char *strncpy( extern unsigned long strlen( const char *); + +extern char *strsep(char **, const char *); +extern char *strchr(const char *, int); -- cgit v1.2.3