X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxstrtod.h;h=b2fffb27893fc6454d3a6c5f397a172e90fe6845;hb=28546733a07f8078b9e6c21f52c2e3dcd096af0a;hp=5b61c46df8e7c7d07c04cd2061ad2717d484a73f;hpb=e04aaa3da60b161906ebd48b6788a98c7557b758;p=gnulib.git diff --git a/lib/xstrtod.h b/lib/xstrtod.h index 5b61c46df..b2fffb278 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 */