is there a reason why this check should be done twice? /usr/include/string.h:117:
#if __POSIX_VISIBLE >= 200809 char *stpcpy(char *__restrict, const char *__restrict); char *stpncpy(char *__restrict, const char *__restrict, size_t); char *strndup(const char *, size_t); size_t strnlen(const char *, size_t); #endif #if __POSIX_VISIBLE >= 200809 char *strsignal(int); #endif -f -- when in doubt stop thinking and all doubt will go away.
Index: string.h =================================================================== RCS file: /cvs/src/include/string.h,v retrieving revision 1.28 diff -u -p -r1.28 string.h --- string.h 13 Jun 2014 02:12:17 -0000 1.28 +++ string.h 27 Jul 2014 16:10:56 -0000 @@ -119,9 +119,6 @@ char *stpcpy(char *__restrict, const cha char *stpncpy(char *__restrict, const char *__restrict, size_t); char *strndup(const char *, size_t); size_t strnlen(const char *, size_t); -#endif - -#if __POSIX_VISIBLE >= 200809 char *strsignal(int); #endif