X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrtol.c;h=e2b1589a7d1e6528e3c449f5051e204d6dfc24a0;hb=8c275683036775b0f42833f4e895343d0f3e85fe;hp=d556e946305d4512bef41a8a45c3a1c56eb43df7;hpb=fa9635f22ac175bace582885ca780d3eb511b578;p=gnulib.git diff --git a/lib/strtol.c b/lib/strtol.c index d556e9463..e2b1589a7 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); }