X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxstrtod.h;h=b2fffb27893fc6454d3a6c5f397a172e90fe6845;hb=28546733a07f8078b9e6c21f52c2e3dcd096af0a;hp=d40d5124bae67b31d05c133a134641aeac31ff15;hpb=783c1624bd8b027a65b3fba57d3213ccb1a6ddbd;p=gnulib.git diff --git a/lib/xstrtod.h b/lib/xstrtod.h index d40d5124b..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 /* GCC. */ -# endif /* Not __P. */ +#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 /* XSTRTOD_H */ +#endif /* not XSTRTOD_H */