# HG changeset patch # User Paul Eggert # Date 1063398167 0 # Node ID 73c2577c28647f6020f6f61eefd5f0c711654168 # Parent 4753d416bf202a7dc9730392fb8482493647ed8a (LOCALE_PARAM_PROTO): Renamed from LOCALE_PARAM_DECL, for consistency with glibc. diff --git a/lib/strtol.c b/lib/strtol.c --- a/lib/strtol.c +++ b/lib/strtol.c @@ -171,10 +171,10 @@ # 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 @@ 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 @@ 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); }