aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-10-08 21:04:59 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-10-08 21:04:59 +0000
commitda77c6d1e5da7e30eef510454b52fc50a8c3872c (patch)
treee1f9557e56e38351089a880071489583a1177338 /newlib
parentd326f841c3c9e9927d5ac56efc202ce7f80a66d1 (diff)
downloadnewlib-da77c6d1e5da7e30eef510454b52fc50a8c3872c.zip
newlib-da77c6d1e5da7e30eef510454b52fc50a8c3872c.tar.gz
newlib-da77c6d1e5da7e30eef510454b52fc50a8c3872c.tar.bz2
* libc/include/string.h (ffsl): Declare as GNU function.
(ffsll): Ditto.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/string.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index a157623..24be3b8 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-08 Corinna Vinschen <vinschen@redhat.com>
+
+ * libc/include/string.h (ffsl): Declare as GNU function.
+ (ffsll): Ditto.
+
2014-09-17 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/features.h: Add __NEWLIB__ and
diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h
index e577a71..8fb3563 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