diff options
Diffstat (limited to 'newlib/libc/machine/powerpc/atosfix32.c')
-rw-r--r-- | newlib/libc/machine/powerpc/atosfix32.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/newlib/libc/machine/powerpc/atosfix32.c b/newlib/libc/machine/powerpc/atosfix32.c new file mode 100644 index 000000000..5d55e4580 --- /dev/null +++ b/newlib/libc/machine/powerpc/atosfix32.c @@ -0,0 +1,25 @@ +/* + * Jeff Johnston - 02/13/2002 + */ + +#include <stdlib.h> +#include <_ansi.h> + +__int32_t +_DEFUN (_atosfix32_r, (reent, s), + struct _reent *reent _AND + _CONST char *s) +{ + return _strtosfix32_r (reent, s, NULL); +} + +#ifndef _REENT_ONLY +__int32_t +_DEFUN (atosfix32, (s), + _CONST char *s) +{ + return strtosfix32 (s, NULL); +} + +#endif /* !_REENT_ONLY */ + |