X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxstrtod.h;h=d286d6f55825a5ad00e5612ca8f2cb3436813451;hb=e29fbaee8afd6fd9b6c0291562740807ca11a0c6;hp=15b85f446fa4d994751980f530710dcedfbb679a;hpb=16554b8ee932fdd84abe72648c4354bef24b8e41;p=gnulib.git diff --git a/lib/xstrtod.h b/lib/xstrtod.h index 15b85f446..d286d6f55 100644 --- a/lib/xstrtod.h +++ b/lib/xstrtod.h @@ -1,15 +1,15 @@ #ifndef XSTRTOD_H -#define XSTRTOD_H 1 +# 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. */ +# ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# 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 */