summaryrefslogtreecommitdiff
path: root/lib/xstrtol.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-10-17 02:59:09 +0000
committerJim Meyering <jim@meyering.net>1996-10-17 02:59:09 +0000
commite24c0713be3ad2d52d6880dc7364fd6899ec7afe (patch)
tree2d283957f8a98fb1b701cc3d5707f36331d32b8d /lib/xstrtol.h
parent9b3498acb2e76bd7ffa2357aef89212568a516f6 (diff)
downloadcoreutils-e24c0713be3ad2d52d6880dc7364fd6899ec7afe.tar.xz
Define and use macro, PARAMS, not __P.
Diffstat (limited to 'lib/xstrtol.h')
-rw-r--r--lib/xstrtol.h10
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 \