mirror of
https://github.com/fluencelabs/musl
synced 2025-04-25 07:12:15 +00:00
limit visibility of ffs function declaration to _XOPEN_SOURCE
per the standard, ffs is XSI shaded, whereas the other functions in this header are in the base.
This commit is contained in:
parent
4f44937432
commit
38db09374a
@ -20,7 +20,9 @@ char *index (const char *, int);
|
|||||||
char *rindex (const char *, int);
|
char *rindex (const char *, int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
||||||
int ffs (int);
|
int ffs (int);
|
||||||
|
#endif
|
||||||
|
|
||||||
int strcasecmp (const char *, const char *);
|
int strcasecmp (const char *, const char *);
|
||||||
int strncasecmp (const char *, const char *, size_t);
|
int strncasecmp (const char *, const char *, size_t);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user