1 /*
2 Copyright (c) 1990 Regents of the University of California.
3 All rights reserved.
4  */
5 /*
6  * Andy Wilson, 2-Oct-89.
7  */
8 
9 #include <stdlib.h>
10 
11 #ifndef _REENT_ONLY
12 long
atol(const char * s)13 atol (const char *s)
14 {
15   return strtol (s, NULL, 10);
16 }
17 #endif /* !_REENT_ONLY */
18