X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fabs.c;h=7a634e3ab538c0ec08c00439b79c4438878d9a29;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=1bd965d08ad3f99578a572f436f930562614fe05;hpb=bf2467f8b7d21570e11985421f2359a24a739134;p=pdclib diff --git a/functions/stdlib/abs.c b/functions/stdlib/abs.c index 1bd965d..7a634e3 100644 --- a/functions/stdlib/abs.c +++ b/functions/stdlib/abs.c @@ -1,7 +1,3 @@ -/* $Id$ */ - -/* Release $Name$ */ - /* abs( int ) This file is part of the Public Domain C Library (PDCLib). @@ -20,12 +16,13 @@ int abs( int j ) #endif #ifdef TEST -#include <_PDCLIB_test.h> + +#include "_PDCLIB_test.h" + #include -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 ) );