提交 38db0937 编写于 作者: R Rich Felker

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.
上级 4f449374
......@@ -20,7 +20,9 @@ char *index (const char *, int);
char *rindex (const char *, int);
#endif
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
int ffs (int);
#endif
int strcasecmp (const char *, const char *);
int strncasecmp (const char *, const char *, size_t);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册