From dd26fd8418f87e2bfe31f9ce973a5cc0ad82fabc Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 12 Sep 2003 20:22:47 +0000 Subject: [PATCH] (LOCALE_PARAM_PROTO): Renamed from LOCALE_PARAM_DECL, for consistency with glibc. --- lib/strtol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/strtol.c b/lib/strtol.c index d556e94630..e2b1589a7d 100644 --- a/lib/strtol.c +++ b/lib/strtol.c @@ -171,10 +171,10 @@ extern int errno; # define _NL_CURRENT(category, item) \ (current->values[_NL_ITEM_INDEX (item)].string) # define LOCALE_PARAM , loc -# define LOCALE_PARAM_DECL , __locale_t loc +# define LOCALE_PARAM_PROTO , __locale_t loc #else # define LOCALE_PARAM -# define LOCALE_PARAM_DECL +# define LOCALE_PARAM_PROTO #endif #if defined _LIBC || defined HAVE_WCHAR_H @@ -235,7 +235,7 @@ extern int errno; INT INTERNAL (strtol) (const STRING_TYPE *nptr, STRING_TYPE **endptr, - int base, int group LOCALE_PARAM_DECL) + int base, int group LOCALE_PARAM_PROTO) { int negative; register unsigned LONG int cutoff; @@ -426,7 +426,7 @@ INT weak_function #endif strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr, - int base LOCALE_PARAM_DECL) + int base LOCALE_PARAM_PROTO) { return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM); } -- 2.30.2