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-188-gbf43838
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 13 Nov 2014 21:38:28 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-188-gbf43838
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 bf438382bd8ffcc614b01e9a273a577b3ed54f9f (commit)
from 2a1cfd94a26e0fa96d8f284897213b65c60142d6 (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=bf438382bd8ffcc614b01e9a273a577b3ed54f9f
commit bf438382bd8ffcc614b01e9a273a577b3ed54f9f
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu Nov 13 21:37:53 2014 +0000
Use prototype definition for __strtol.
This patch fixes those warnings by using a prototype definition for
__strtol.
Tested for x86_64 that stripped installed shared libraries are
unchanged by this patch.
* stdlib/strtol.c (__strtol): Use prototype definition.
diff --git a/ChangeLog b/ChangeLog
index 59c30e0..caf1ce9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2014-11-13 Joseph Myers <joseph@codesourcery.com>
+ * stdlib/strtol.c (__strtol): Use prototype definition.
+
[BZ #17594]
* stdlib/strtol.c (SYM__): New macro.
(SYM__1): Likewise.
diff --git a/stdlib/strtol.c b/stdlib/strtol.c
index bd59180..60a33c0 100644
--- a/stdlib/strtol.c
+++ b/stdlib/strtol.c
@@ -104,10 +104,7 @@ libc_hidden_def (INTERNAL (strtol))
INT
-__strtol (nptr, endptr, base)
- const STRING_TYPE *nptr;
- STRING_TYPE **endptr;
- int base;
+__strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr, int base)
{
return INTERNAL (__strtol_l) (nptr, endptr, base, 0, _NL_CURRENT_LOCALE);
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 ++
stdlib/strtol.c | 5 +----
2 files changed, 3 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources