]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/abs.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / stdlib / abs.c
index 1bd965d08ad3f99578a572f436f930562614fe05..4e8302bdb2356d9be3a41297564cee0fa4dafd8a 100644 (file)
@@ -1,7 +1,3 @@
-/* $Id$ */
-
-/* Release $Name$ */
-
 /* abs( int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -20,12 +16,11 @@ int abs( int j )
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
 #include <limits.h>
 
-int main()
+int main( void )
 {
-    BEGIN_TESTS;
     TESTCASE( abs( 0 ) == 0 );
     TESTCASE( abs( INT_MAX ) == INT_MAX );
     TESTCASE( abs( INT_MIN + 1 ) == -( INT_MIN + 1 ) );