Author: zeising (doc,ports committer) Date: Thu Feb 14 19:26:58 2013 New Revision: 246803 URL: http://svnweb.freebsd.org/changeset/base/246803
Log: FreeBSD uses #if __BSD_VISIBLE to hide non-standard functions, fix this. Noticed by: kib Approved by: kib Modified: head/include/string.h Modified: head/include/string.h ============================================================================== --- head/include/string.h Thu Feb 14 19:22:15 2013 (r246802) +++ head/include/string.h Thu Feb 14 19:26:58 2013 (r246803) @@ -74,7 +74,7 @@ char *strcasestr(const char *, const cha #endif char *strcat(char * __restrict, const char * __restrict); char *strchr(const char *, int) __pure; -#if defined(_GNU_SOURCE) +#if __BSD_VISIBLE char *strchrnul(const char*, int) __pure; #endif int strcmp(const char *, const char *) __pure; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"