Print this page
remove support for non-ANSI compilation

@@ -22,10 +22,12 @@
 /*      Copyright (c) 1988 AT&T */
 /*        All Rights Reserved   */
 
 
 /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*

@@ -41,12 +43,10 @@
  */
 
 #ifndef _ISO_STRING_ISO_H
 #define _ISO_STRING_ISO_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/feature_tests.h>
 
 #ifdef  __cplusplus
 extern "C" {
 #endif

@@ -70,12 +70,10 @@
 #else
 #define NULL    0
 #endif
 #endif
 
-#if defined(__STDC__)
-
 extern int memcmp(const void *, const void *, size_t);
 extern void *memcpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD, size_t);
 extern void *memmove(void *, const void *, size_t);
 extern void *memset(void *, int, size_t);
 extern char *strcat(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);

@@ -149,37 +147,10 @@
 extern char *strpbrk(const char *, const char *);
 extern char *strrchr(const char *, int);
 extern char *strstr(const char *, const char *);
 #endif /* __cplusplus >= 199711L */
 
-#else   /* __STDC__ */
-
-extern void *memchr();
-extern int memcmp();
-extern void *memcpy();
-extern void *memmove();
-extern void *memset();
-extern char *strcat();
-extern char *strchr();
-extern int strcmp();
-extern int strcoll();
-extern char *strcpy();
-extern size_t strcspn();
-extern char *strerror();
-extern size_t strlen();
-extern char *strncat();
-extern int strncmp();
-extern char *strncpy();
-extern char *strpbrk();
-extern char *strrchr();
-extern size_t strspn();
-extern char *strstr();
-extern char *strtok();
-extern size_t strxfrm();
-
-#endif  /* __STDC__ */
-
 #if __cplusplus >= 199711L
 }
 #endif /* end of namespace std */
 
 #ifdef  __cplusplus