summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/powerpc/atosfix64.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/powerpc/atosfix64.c')
-rw-r--r--newlib/libc/machine/powerpc/atosfix64.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/newlib/libc/machine/powerpc/atosfix64.c b/newlib/libc/machine/powerpc/atosfix64.c
new file mode 100644
index 000000000..b720d3824
--- /dev/null
+++ b/newlib/libc/machine/powerpc/atosfix64.c
@@ -0,0 +1,25 @@
+/*
+ * Jeff Johnston - 02/13/2002
+ */
+
+#include <stdlib.h>
+#include <_ansi.h>
+
+__int64_t
+_DEFUN (_atosfix64_r, (reent, s),
+ struct _reent *reent _AND
+ _CONST char *s)
+{
+ return _strtosfix64_r (reent, s, NULL);
+}
+
+#ifndef _REENT_ONLY
+__int64_t
+_DEFUN (atosfix64, (s),
+ _CONST char *s)
+{
+ return strtosfix64 (s, NULL);
+}
+
+#endif /* !_REENT_ONLY */
+