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
/
abs.c
diff --git
a/functions/stdlib/abs.c
b/functions/stdlib/abs.c
index 1bd965d08ad3f99578a572f436f930562614fe05..c5fd00cea887c78cb4c99778ee704a9014e97e75 100644
(file)
--- a/
functions/stdlib/abs.c
+++ b/
functions/stdlib/abs.c
@@
-23,9
+23,8
@@
int abs( int j )
#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 ) );