Mercurial > hg > octave-kai > gnulib-hg
diff lib/xstrtod.h @ 742:cddc2692eef4
Define and use macro, PARAMS, not __P.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 17 Oct 1996 02:59:09 +0000 (1996-10-17) |
parents | 2f2ee0189bb5 |
children | cf3c93b52b9b |
line wrap: on
line diff
--- 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 */