mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
ffsl, ffsll: Declare under __USE_MISC, not just __USE_GNU
Recent BSDs declare these functions, too.
This commit is contained in:
parent
dadf23f06c
commit
68fe16dd32
@ -1,3 +1,8 @@
|
||||
2017-10-30 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
|
||||
just __USE_GNU.
|
||||
|
||||
2017-10-30 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
|
||||
|
@ -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__;
|
||||
|
Loading…
Reference in New Issue
Block a user