mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 04:53:28 +00:00
FreeBSD uses #if __BSD_VISIBLE to hide non-standard functions, fix this.
Noticed by: kib Approved by: kib
This commit is contained in:
parent
bf94adb3e1
commit
4e95969e06
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246803
@ -74,7 +74,7 @@ char *strcasestr(const char *, const char *) __pure;
|
|||||||
#endif
|
#endif
|
||||||
char *strcat(char * __restrict, const char * __restrict);
|
char *strcat(char * __restrict, const char * __restrict);
|
||||||
char *strchr(const char *, int) __pure;
|
char *strchr(const char *, int) __pure;
|
||||||
#if defined(_GNU_SOURCE)
|
#if __BSD_VISIBLE
|
||||||
char *strchrnul(const char*, int) __pure;
|
char *strchrnul(const char*, int) __pure;
|
||||||
#endif
|
#endif
|
||||||
int strcmp(const char *, const char *) __pure;
|
int strcmp(const char *, const char *) __pure;
|
||||||
|
Loading…
Reference in New Issue
Block a user