]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/atoi.c
Added #ifdef to allow for regression against system library.
[pdclib] / functions / stdlib / atoi.c
index 75987e0a33d8d2d1c9d8d8daa5e8a44420b0332e..697c77c1117327b896947b0cc9886ee87a384627 100644 (file)
@@ -9,12 +9,17 @@
 */
 
 #include <_PDCLIB_int.h>
+#include <stdlib.h>
+
+#ifndef REGTEST
 
 int atoi( const char * s )
 {
     return (int) _PDCLIB_atomax( s );
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>