diff options
author | Jim Meyering <jim@meyering.net> | 1995-11-15 21:59:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-11-15 21:59:20 +0000 |
commit | 02bde8d33428240395bd17a169edee18986352a9 (patch) | |
tree | a1956f90edaf7eae6739a8ff28f18a3345c4f4e0 /lib/xstrtod.h | |
parent | e99f53404625a16651beb66659896311dbc56006 (diff) | |
download | coreutils-02bde8d33428240395bd17a169edee18986352a9.tar.xz |
.
Diffstat (limited to 'lib/xstrtod.h')
-rw-r--r-- | lib/xstrtod.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/xstrtod.h b/lib/xstrtod.h new file mode 100644 index 000000000..69c787711 --- /dev/null +++ b/lib/xstrtod.h @@ -0,0 +1,15 @@ +#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. */ + +int + xstrtod (const char *str, const char **ptr, double *result); + +#endif /* XSTRTOD_H */ |