summaryrefslogtreecommitdiff
path: root/lib/xstrtod.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-11-15 21:59:20 +0000
committerJim Meyering <jim@meyering.net>1995-11-15 21:59:20 +0000
commit02bde8d33428240395bd17a169edee18986352a9 (patch)
treea1956f90edaf7eae6739a8ff28f18a3345c4f4e0 /lib/xstrtod.h
parente99f53404625a16651beb66659896311dbc56006 (diff)
downloadcoreutils-02bde8d33428240395bd17a169edee18986352a9.tar.xz
.
Diffstat (limited to 'lib/xstrtod.h')
-rw-r--r--lib/xstrtod.h15
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 */