From da77c6d1e5da7e30eef510454b52fc50a8c3872c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 8 Oct 2014 21:04:59 +0000 Subject: * libc/include/string.h (ffsl): Declare as GNU function. (ffsll): Ditto. --- newlib/libc/include/string.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'newlib/libc') diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h index e577a71bd..8fb3563cc 100644 --- a/newlib/libc/include/string.h +++ b/newlib/libc/include/string.h @@ -90,6 +90,11 @@ char *_EXFUN(strndup,(const char *, size_t)); char *_EXFUN(_strndup_r,(struct _reent *, const char *, size_t)); #endif +#if __GNU_VISIBLE +int _EXFUN(ffsl,(long)); +int _EXFUN(ffsll, (long long)); +#endif + /* There are two common strerror_r variants. If you request _GNU_SOURCE, you get the GNU version; otherwise you get the POSIX version. POSIX requires that #undef strerror_r will still let you -- cgit v1.2.3