Print this page
remove support for non-ANSI compilation

*** 22,31 **** --- 22,33 ---- /* 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,52 **** */ #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 --- 43,52 ----
*** 70,81 **** #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); --- 70,79 ----
*** 149,185 **** 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 --- 147,156 ----