X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxstrtod.h;h=d286d6f55825a5ad00e5612ca8f2cb3436813451;hb=refs%2Ftags%2FFILEUTILS-4_0-b6;hp=d40d5124bae67b31d05c133a134641aeac31ff15;hpb=783c1624bd8b027a65b3fba57d3213ccb1a6ddbd;p=gnulib.git diff --git a/lib/xstrtod.h b/lib/xstrtod.h index d40d5124b..d286d6f55 100644 --- a/lib/xstrtod.h +++ b/lib/xstrtod.h @@ -1,15 +1,15 @@ #ifndef XSTRTOD_H # define XSTRTOD_H 1 -# ifndef __P -# if defined (__GNUC__) || (defined (__STDC__) && __STDC__) -# define __P(args) args +# ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args # else -# define __P(args) () -# endif /* GCC. */ -# endif /* Not __P. */ +# define PARAMS(Args) () +# endif +# 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 */