This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.26.9000-680-g68fe16d
- From: fw at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 30 Oct 2017 13:00:38 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26.9000-680-g68fe16d
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 68fe16dd327c895c08b9ee443b234c49c13b36e9 (commit)
from dadf23f06c134d09b5930e09bddfdab2c0ca6150 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=68fe16dd327c895c08b9ee443b234c49c13b36e9
commit 68fe16dd327c895c08b9ee443b234c49c13b36e9
Author: Florian Weimer <fweimer@redhat.com>
Date: Mon Oct 30 13:59:59 2017 +0100
ffsl, ffsll: Declare under __USE_MISC, not just __USE_GNU
Recent BSDs declare these functions, too.
diff --git a/ChangeLog b/ChangeLog
index 4835785..a36b0b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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.
Convert to support/test-driver.c.
(GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
diff --git a/string/strings.h b/string/strings.h
index 630b3ad..27508e3 100644
--- a/string/strings.h
+++ b/string/strings.h
@@ -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__;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
string/strings.h | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources