diff options
author | Jim Meyering <jim@meyering.net> | 1996-10-17 02:59:09 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-10-17 02:59:09 +0000 |
commit | e24c0713be3ad2d52d6880dc7364fd6899ec7afe (patch) | |
tree | 2d283957f8a98fb1b701cc3d5707f36331d32b8d /lib/xstrtol.h | |
parent | 9b3498acb2e76bd7ffa2357aef89212568a516f6 (diff) | |
download | coreutils-e24c0713be3ad2d52d6880dc7364fd6899ec7afe.tar.xz |
Define and use macro, PARAMS, not __P.
Diffstat (limited to 'lib/xstrtol.h')
-rw-r--r-- | lib/xstrtol.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/xstrtol.h b/lib/xstrtol.h index fd0c97f63..e710a09ac 100644 --- a/lib/xstrtol.h +++ b/lib/xstrtol.h @@ -13,11 +13,11 @@ # define __ZLONG_MAX LONG_MAX #endif -#undef __P +#undef PARAMS #if defined (__STDC__) && __STDC__ -#define __P(x) x +# define PARAMS(x) x #else -#define __P(x) () +# define PARAMS(x) () #endif enum strtol_error @@ -27,8 +27,8 @@ enum strtol_error typedef enum strtol_error strtol_error; strtol_error - __xstrtol __P ((const char *s, char **ptr, int base, - __unsigned long int *val, const char *valid_suffixes)); + __xstrtol PARAMS ((const char *s, char **ptr, int base, + __unsigned long int *val, const char *valid_suffixes)); #define _STRTOL_ERROR(exit_code, str, argument_type_string, err) \ do \ |