stdc.h -> cdefs.h
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 27 Jan 1991 07:32:11 +0000 (23:32 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 27 Jan 1991 07:32:11 +0000 (23:32 -0800)
SCCS-vsn: lib/libc/string/bcopy.c 5.9
SCCS-vsn: lib/libc/string/memccpy.c 5.7
SCCS-vsn: lib/libc/string/memchr.c 5.6
SCCS-vsn: lib/libc/string/memcmp.c 5.6
SCCS-vsn: lib/libc/string/memset.c 5.6
SCCS-vsn: lib/libc/string/strcasecmp.c 5.10
SCCS-vsn: lib/libc/string/strcmp.c 5.5
SCCS-vsn: lib/libc/string/strcoll.c 5.2
SCCS-vsn: lib/libc/string/strcspn.c 5.6
SCCS-vsn: lib/libc/string/strlen.c 5.5
SCCS-vsn: lib/libc/string/strncat.c 5.6
SCCS-vsn: lib/libc/string/strncmp.c 5.6
SCCS-vsn: lib/libc/string/strncpy.c 5.6
SCCS-vsn: lib/libc/string/strpbrk.c 5.8
SCCS-vsn: lib/libc/string/strsep.c 5.4
SCCS-vsn: lib/libc/string/strspn.c 5.8
SCCS-vsn: lib/libc/string/strstr.c 5.2
SCCS-vsn: lib/libc/string/strxfrm.c 5.2

18 files changed:
usr/src/lib/libc/string/bcopy.c
usr/src/lib/libc/string/memccpy.c
usr/src/lib/libc/string/memchr.c
usr/src/lib/libc/string/memcmp.c
usr/src/lib/libc/string/memset.c
usr/src/lib/libc/string/strcasecmp.c
usr/src/lib/libc/string/strcmp.c
usr/src/lib/libc/string/strcoll.c
usr/src/lib/libc/string/strcspn.c
usr/src/lib/libc/string/strlen.c
usr/src/lib/libc/string/strncat.c
usr/src/lib/libc/string/strncmp.c
usr/src/lib/libc/string/strncpy.c
usr/src/lib/libc/string/strpbrk.c
usr/src/lib/libc/string/strsep.c
usr/src/lib/libc/string/strspn.c
usr/src/lib/libc/string/strstr.c
usr/src/lib/libc/string/strxfrm.c

index a49c417..9bf9cd5 100644 (file)
@@ -9,10 +9,10 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)bcopy.c    5.8 (Berkeley) %G%";
+static char sccsid[] = "@(#)bcopy.c    5.9 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
-#include <sys/stdc.h>
+#include <sys/cdefs.h>
 #include <string.h>
 
 /*
 #include <string.h>
 
 /*
index c065be5..eb183a0 100644 (file)
@@ -6,11 +6,11 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)memccpy.c  5.6 (Berkeley) %G%";
+static char sccsid[] = "@(#)memccpy.c  5.7 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
+#include <sys/cdefs.h>
 #include <string.h>
 #include <string.h>
-#include <sys/stdc.h>
 
 void *
 memccpy(t, f, c, n)
 
 void *
 memccpy(t, f, c, n)
index 3b746d0..6dc4a9d 100644 (file)
@@ -9,11 +9,11 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)memchr.c   5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)memchr.c   5.6 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
+#include <sys/cdefs.h>
 #include <string.h>
 #include <string.h>
-#include <sys/stdc.h>
 
 void *
 memchr(s, c, n)
 
 void *
 memchr(s, c, n)
index baacdad..ecf0721 100644 (file)
@@ -9,11 +9,11 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)memcmp.c   5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)memcmp.c   5.6 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
+#include <sys/cdefs.h>
 #include <string.h>
 #include <string.h>
-#include <sys/stdc.h>
 
 /*
  * Compare memory regions.
 
 /*
  * Compare memory regions.
index e3db109..3c39cd7 100644 (file)
@@ -9,11 +9,11 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)memset.c   5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)memset.c   5.6 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
+#include <sys/cdefs.h>
 #include <string.h>
 #include <string.h>
-#include <sys/stdc.h>
 
 void *
 memset(dst, c, n)
 
 void *
 memset(dst, c, n)
index f22271f..a1a8f2b 100644 (file)
@@ -5,11 +5,11 @@
  * %sccs.include.redist.c%
  */
 
  * %sccs.include.redist.c%
  */
 
-#include <sys/stdc.h>
+#include <sys/cdefs.h>
 #include <string.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
 #include <string.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static const char sccsid[] = "@(#)strcasecmp.c 5.9 (Berkeley) %G%";
+static const char sccsid[] = "@(#)strcasecmp.c 5.10 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 typedef unsigned char u_char;
 #endif /* LIBC_SCCS and not lint */
 
 typedef unsigned char u_char;
index 475f259..a9cc920 100644 (file)
@@ -9,10 +9,10 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strcmp.c   5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)strcmp.c   5.5 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
-#include <sys/stdc.h>
+#include <sys/cdefs.h>
 #include <string.h>
 
 /*
 #include <string.h>
 
 /*
index e4a1d86..d7cd790 100644 (file)
@@ -9,11 +9,11 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strcoll.c  5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)strcoll.c  5.2 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
+#include <sys/cdefs.h>
 #include <string.h>
 #include <string.h>
-#include <sys/stdc.h>
 
 /*
  * Compare strings according to LC_COLLATE category of current locale.
 
 /*
  * Compare strings according to LC_COLLATE category of current locale.
index a66dca7..025f8e6 100644 (file)
@@ -9,10 +9,10 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strcspn.c  5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)strcspn.c  5.6 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
-#include <sys/stdc.h>
+#include <sys/cdefs.h>
 #include <string.h>
 
 /*
 #include <string.h>
 
 /*
index dd29032..c327dcf 100644 (file)
@@ -6,10 +6,10 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strlen.c   5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)strlen.c   5.5 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
-#include <sys/stdc.h>
+#include <sys/cdefs.h>
 #include <string.h>
 
 size_t
 #include <string.h>
 
 size_t
index 8135e8b..db04e66 100644 (file)
@@ -9,10 +9,10 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strncat.c  5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)strncat.c  5.6 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
-#include <sys/stdc.h>
+#include <sys/cdefs.h>
 #include <string.h>
 
 /*
 #include <string.h>
 
 /*
index 96a02ad..db48c7e 100644 (file)
@@ -6,10 +6,10 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strncmp.c  5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)strncmp.c  5.6 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
-#include <sys/stdc.h>
+#include <sys/cdefs.h>
 #include <string.h>
 
 int
 #include <string.h>
 
 int
index 9ea8318..c8f3a8d 100644 (file)
@@ -9,11 +9,11 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strncpy.c  5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)strncpy.c  5.6 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
+#include <sys/cdefs.h>
 #include <string.h>
 #include <string.h>
-#include <sys/stdc.h>
 
 /*
  * Copy src to dst, truncating or null-padding to always copy n bytes.
 
 /*
  * Copy src to dst, truncating or null-padding to always copy n bytes.
index 8c7946b..f6e4c62 100644 (file)
@@ -6,11 +6,11 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strpbrk.c  5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)strpbrk.c  5.8 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
+#include <sys/cdefs.h>
 #include <string.h>
 #include <string.h>
-#include <sys/stdc.h>
 
 /*
  * Find the first occurrence in s1 of a character in s2 (excluding NUL).
 
 /*
  * Find the first occurrence in s1 of a character in s2 (excluding NUL).
index 3ed61ea..1c1772a 100644 (file)
@@ -5,12 +5,12 @@
  * %sccs.include.redist.c%
  */
 
  * %sccs.include.redist.c%
  */
 
-#include <sys/stdc.h>
+#include <sys/cdefs.h>
 #include <string.h>
 #include <stdio.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
 #include <string.h>
 #include <stdio.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static const char sccsid[] = "@(#)strsep.c     5.3 (Berkeley) %G%";
+static const char sccsid[] = "@(#)strsep.c     5.4 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 /*
 #endif /* LIBC_SCCS and not lint */
 
 /*
index f454319..721f894 100644 (file)
@@ -6,10 +6,10 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strspn.c   5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)strspn.c   5.8 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
-#include <sys/stdc.h>
+#include <sys/cdefs.h>
 #include <string.h>
 
 /*
 #include <string.h>
 
 /*
index ca32ec0..e6343f2 100644 (file)
@@ -9,11 +9,11 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strstr.c   5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)strstr.c   5.2 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
+#include <sys/cdefs.h>
 #include <string.h>
 #include <string.h>
-#include <sys/stdc.h>
 
 /*
  * Find the first occurrence of find in s.
 
 /*
  * Find the first occurrence of find in s.
index 6999b2d..ad7b07d 100644 (file)
@@ -9,10 +9,10 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)strxfrm.c  5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)strxfrm.c  5.2 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
-#include <sys/stdc.h>
+#include <sys/cdefs.h>
 #include <string.h>
 
 /*
 #include <string.h>
 
 /*