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.18-190-ge833b53
- From: ericb at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 1 Oct 2013 20:41:07 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.18-190-ge833b53
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 e833b53fe618af287a0b818ac3592d842b76dec8 (commit)
from c17fdf95b69e166a777083336f7204bf4f6da2fa (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=e833b53fe618af287a0b818ac3592d842b76dec8
commit e833b53fe618af287a0b818ac3592d842b76dec8
Author: Eric Blake <eblake@redhat.com>
Date: Wed Sep 4 17:02:47 2013 -0600
glob: silence -Wattribute warnings
Colin Watson reported that some versions of gcc warn about
attribute leaf used on a static function, since it has no
effect on anything but external functions.
* posix/glob.c (next_brace_sub, prefix_array, collated_compare):
Use __THROWNL rather than __THROW on static functions.
Signed-off-by: Eric Blake <eblake@redhat.com>
diff --git a/ChangeLog b/ChangeLog
index 12d8927..55bcf08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -432,6 +432,11 @@
[!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
parentheses around reference to macro parameter.
+2013-09-04 Eric Blake <eblake@redhat.com>
+
+ * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
+ Use __THROWNL rather than __THROW on static functions.
+
2013-09-13 Richard Sandiford <richard@codesourcery.com>
* locale/programs/ld-ctype.c (find_idx): Use uint32_t in
diff --git a/posix/glob.c b/posix/glob.c
index 4c7dce5..ece71c1 100644
--- a/posix/glob.c
+++ b/posix/glob.c
@@ -193,7 +193,7 @@
# define GET_LOGIN_NAME_MAX() (-1)
#endif
-static const char *next_brace_sub (const char *begin, int flags) __THROW;
+static const char *next_brace_sub (const char *begin, int flags) __THROWNL;
#endif /* !defined _LIBC || !defined GLOB_ONLY_P */
@@ -208,8 +208,8 @@ extern int __glob_pattern_type (const char *pattern, int quote)
attribute_hidden;
#if !defined _LIBC || !defined GLOB_ONLY_P
-static int prefix_array (const char *prefix, char **array, size_t n) __THROW;
-static int collated_compare (const void *, const void *) __THROW;
+static int prefix_array (const char *prefix, char **array, size_t n) __THROWNL;
+static int collated_compare (const void *, const void *) __THROWNL;
/* Find the end of the sub-pattern in a brace expression. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
posix/glob.c | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources