diff options
| author | jtc <jtc@NetBSD.org> | 1994-06-11 16:49:13 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1994-06-11 16:49:13 +0000 |
| commit | fe4dd97bd444acef13c645e3bc47ce656ccef14c (patch) | |
| tree | 355294f588a9f95649b983030cba4fd00339bfa6 /lib/libc/string | |
| parent | 59ad910d74ad986d636f2ab1089bf79cae58d8be (diff) | |
Remove unneeded #include <stddef.h> because <string.h> #defines NULL too.
Diffstat (limited to 'lib/libc/string')
| -rw-r--r-- | lib/libc/string/index.c | 4 | ||||
| -rw-r--r-- | lib/libc/string/rindex.c | 3 | ||||
| -rw-r--r-- | lib/libc/string/strdup.c | 3 | ||||
| -rw-r--r-- | lib/libc/string/strtok.c | 3 |
4 files changed, 4 insertions, 9 deletions
diff --git a/lib/libc/string/index.c b/lib/libc/string/index.c index 2d4a16b55bd..25b6b347ffe 100644 --- a/lib/libc/string/index.c +++ b/lib/libc/string/index.c @@ -33,12 +33,10 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)index.c 5.7 (Berkeley) 2/24/91";*/ -static char *rcsid = "$Id: index.c,v 1.3 1993/08/26 00:51:39 jtc Exp $"; +static char *rcsid = "$Id: index.c,v 1.4 1994/06/11 16:49:13 jtc Exp $"; #endif /* LIBC_SCCS and not lint */ -#include <sys/cdefs.h> #include <string.h> -#include <stddef.h> char * #ifdef STRCHR diff --git a/lib/libc/string/rindex.c b/lib/libc/string/rindex.c index 31fac3064ca..c80d066f4fc 100644 --- a/lib/libc/string/rindex.c +++ b/lib/libc/string/rindex.c @@ -33,10 +33,9 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)rindex.c 5.9 (Berkeley) 2/24/91";*/ -static char *rcsid = "$Id: rindex.c,v 1.3 1993/08/26 00:51:44 jtc Exp $"; +static char *rcsid = "$Id: rindex.c,v 1.4 1994/06/11 16:49:15 jtc Exp $"; #endif /* LIBC_SCCS and not lint */ -#include <stddef.h> #include <string.h> char * diff --git a/lib/libc/string/strdup.c b/lib/libc/string/strdup.c index 00bc2f50f47..16fd4169adb 100644 --- a/lib/libc/string/strdup.c +++ b/lib/libc/string/strdup.c @@ -33,10 +33,9 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strdup.c 5.4 (Berkeley) 2/24/91";*/ -static char *rcsid = "$Id: strdup.c,v 1.3 1993/08/26 00:51:51 jtc Exp $"; +static char *rcsid = "$Id: strdup.c,v 1.4 1994/06/11 16:49:16 jtc Exp $"; #endif /* LIBC_SCCS and not lint */ -#include <stddef.h> #include <stdlib.h> #include <string.h> diff --git a/lib/libc/string/strtok.c b/lib/libc/string/strtok.c index 6b4c3375fd8..1f437334da0 100644 --- a/lib/libc/string/strtok.c +++ b/lib/libc/string/strtok.c @@ -33,10 +33,9 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strtok.c 5.8 (Berkeley) 2/24/91";*/ -static char *rcsid = "$Id: strtok.c,v 1.3 1993/08/26 00:52:01 jtc Exp $"; +static char *rcsid = "$Id: strtok.c,v 1.4 1994/06/11 16:49:17 jtc Exp $"; #endif /* LIBC_SCCS and not lint */ -#include <stddef.h> #include <string.h> char * |
