diff options
author | Roland McGrath <roland@gnu.org> | 2001-08-24 21:30:09 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-08-24 21:30:09 +0000 |
commit | cedb875d61b2e271c7db5af43a81203940baee7a (patch) | |
tree | cfce098a80b63faf7a0328b2e4c968a1cc2aa1cf /kern | |
parent | e51ac98a35560a32cc26eab30569c3a3d157fb29 (diff) |
2001-08-24 Roland McGrath <roland@frob.com>
* Makefile.in (clib-routines): Add strsep.
* kern/strings.h (strsep, strchr): Declare them.
Diffstat (limited to 'kern')
-rw-r--r-- | kern/strings.h | 15 |
1 files changed, 9 insertions, 6 deletions
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); |