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.20-264-gf1a5a0e
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 26 Nov 2014 16:34:26 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-264-gf1a5a0e
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 f1a5a0e3c3d32bb800a0a63a0cfcd1b25a8e3d4d (commit)
from 59ef17152b1ad9a4c4d618ec085586e3e14f6e94 (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=f1a5a0e3c3d32bb800a0a63a0cfcd1b25a8e3d4d
commit f1a5a0e3c3d32bb800a0a63a0cfcd1b25a8e3d4d
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Nov 26 16:34:06 2014 +0000
Fix sysdeps/mips/__longjmp.c warning.
This patch fixes
../sysdeps/mips/__longjmp.c:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
which arose I think from the MIPS16 changes (renaming the function to
____longjmp with an alias __longjmp, so a prior header prototype for
__longjmp no longer sufficed to prevent a warning). I've made the
function use a prototype definition, which is what we want for all
function definitions in glibc anyway.
Tested for MIPS.
* sysdeps/mips/__longjmp.c (____longjmp): Use prototype
definition.
diff --git a/ChangeLog b/ChangeLog
index 0797a15..5ec7f0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-11-26 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
+ definition.
+
* nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
pthread_cleanup_push to void *.
diff --git a/sysdeps/mips/__longjmp.c b/sysdeps/mips/__longjmp.c
index 5e6a353..c2498c3 100644
--- a/sysdeps/mips/__longjmp.c
+++ b/sysdeps/mips/__longjmp.c
@@ -24,9 +24,7 @@
#endif
static void __attribute__ ((nomips16))
-____longjmp (env_arg, val_arg)
- __jmp_buf env_arg;
- int val_arg;
+____longjmp (__jmp_buf env_arg, int val_arg)
{
/* gcc 1.39.19 miscompiled the longjmp routine (as it did setjmp before
the hack around it); force it to use $a1 for the longjmp value.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +++
sysdeps/mips/__longjmp.c | 4 +---
2 files changed, 4 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources