aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--stdlib/strtol.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 59c30e09a9..caf1ce9940 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 bd59180595..60a33c0060 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);
}