mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
9087163804
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
22 lines
275 B
C
22 lines
275 B
C
/*
|
|
* Andy Wilson, 2-Oct-89.
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include <_ansi.h>
|
|
|
|
#ifndef _REENT_ONLY
|
|
long
|
|
atol (const char *s)
|
|
{
|
|
return strtol (s, NULL, 10);
|
|
}
|
|
#endif /* !_REENT_ONLY */
|
|
|
|
long
|
|
_atol_r (struct _reent *ptr, const char *s)
|
|
{
|
|
return _strtol_r (ptr, s, NULL, 10);
|
|
}
|
|
|