]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/atoll.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / stdlib / atoll.c
index 62abef1e53183fdbb8c165c70949b77bf607f996..f7fa8244023068be643352661d8f721feb77ece2 100644 (file)
@@ -1,26 +1,25 @@
-/* $Id$ */
-
-/* Release $Name$ */
-
 /* atoll( const char * )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#include <_PDCLIB_int.h>
+#include <stdlib.h>
+
+#ifndef REGTEST
 
 long long int atoll( const char * s )
 {
     return (long long int) _PDCLIB_atomax( s );
 }
 
+#endif
+
 #ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
 
-int main()
+int main( void )
 {
-    BEGIN_TESTS;
     /* no tests for a simple wrapper */
     return TEST_RESULTS;
 }