FreeBSD uses #if __BSD_VISIBLE to hide non-standard functions, fix this.

Noticed by:	kib
Approved by:	kib
This commit is contained in:
Niclas Zeising 2013-02-14 19:26:58 +00:00
parent bf94adb3e1
commit 4e95969e06
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246803

View File

@ -74,7 +74,7 @@ char *strcasestr(const char *, const char *) __pure;
#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;