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 | 2ae5764dda52f95186d8b7bc3533a29e5cf18453 (patch) | |
tree | ba686d3d27d2e5040134a5bd0cebcc81005ce709 /lib/xstrtod.h | |
parent | 1b727760f039aaf9fee5b67722e453cef427c943 (diff) | |
download | gnulib-2ae5764dda52f95186d8b7bc3533a29e5cf18453.tar.gz |
Define and use macro, PARAMS, not __P.
Diffstat (limited to 'lib/xstrtod.h')
-rw-r--r-- | lib/xstrtod.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/xstrtod.h b/lib/xstrtod.h index 5b61c46df8..b2fffb2789 100644 --- a/lib/xstrtod.h +++ b/lib/xstrtod.h @@ -1,15 +1,14 @@ #ifndef XSTRTOD_H # define XSTRTOD_H 1 -# ifndef __P -# if defined (__GNUC__) || (defined (__STDC__) && __STDC__) -# define __P(Args) Args -# else -# define __P(Args) () -# endif -# endif +#undef PARAMS +#if defined (__STDC__) && __STDC__ +# define PARAMS(Args) Args +#else +# define PARAMS(Args) () +#endif int - xstrtod __P ((const char *str, const char **ptr, double *result)); + xstrtod PARAMS ((const char *str, const char **ptr, double *result)); #endif /* not XSTRTOD_H */ |