projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use "gettext.h" instead of its complicated substitute.
[gnulib.git]
/
lib
/
strtol.c
diff --git
a/lib/strtol.c
b/lib/strtol.c
index
d556e94
..
e2b1589
100644
(file)
--- 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 _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
#else
# define LOCALE_PARAM
-# define LOCALE_PARAM_
DECL
+# define LOCALE_PARAM_
PROTO
#endif
#if defined _LIBC || defined HAVE_WCHAR_H
#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
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;
{
int negative;
register unsigned LONG int cutoff;
@@
-426,7
+426,7
@@
INT
weak_function
#endif
strtol (const STRING_TYPE *nptr, STRING_TYPE **endptr,
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);
}
{
return INTERNAL (strtol) (nptr, endptr, base, 0 LOCALE_PARAM);
}