X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxstrtod.h;h=b2fffb27893fc6454d3a6c5f397a172e90fe6845;hb=27cdfa27fdd803212e2cb88148fb578c9312a85f;hp=69c7877115b2a42e7216448f6b97789a1da0eea0;hpb=386767027dea095d9b5985d55243d46788e1d960;p=gnulib.git diff --git a/lib/xstrtod.h b/lib/xstrtod.h index 69c787711..b2fffb278 100644 --- a/lib/xstrtod.h +++ b/lib/xstrtod.h @@ -1,15 +1,14 @@ #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. */ +#undef PARAMS +#if defined (__STDC__) && __STDC__ +# define PARAMS(Args) Args +#else +# define PARAMS(Args) () +#endif int - xstrtod (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 */