projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Porting current working set from CVS.
[fw/pdclib]
/
functions
/
stdlib
/
labs.c
diff --git
a/functions/stdlib/labs.c
b/functions/stdlib/labs.c
index 09d15a61815e645c72e1b37ccd72914772ebbffb..d2a6885621f516fab76d72820fd21f62c3fe1332 100644
(file)
--- a/
functions/stdlib/labs.c
+++ b/
functions/stdlib/labs.c
@@
-23,9
+23,8
@@
long int labs( long int j )
#include <_PDCLIB_test.h>
#include <limits.h>
-int main()
+int main(
void
)
{
- BEGIN_TESTS;
TESTCASE( labs( 0 ) == 0 );
TESTCASE( labs( LONG_MAX ) == LONG_MAX );
TESTCASE( labs( LONG_MIN + 1 ) == -( LONG_MIN + 1 ) );