1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

ffsl, ffsll: Declare under __USE_MISC, not just __USE_GNU

Recent BSDs declare these functions, too.
This commit is contained in:
Florian Weimer
2017-10-30 13:59:59 +01:00
parent dadf23f06c
commit 68fe16dd32
2 changed files with 6 additions and 1 deletions

View File

@ -106,7 +106,7 @@ extern int ffs (int __i) __THROW __attribute_const__;
/* The following two functions are non-standard but necessary for non-32 bit
platforms. */
# ifdef __USE_GNU
# ifdef __USE_MISC
extern int ffsl (long int __l) __THROW __attribute_const__;
__extension__ extern int ffsll (long long int __ll)
__THROW __attribute_const__;