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
/
llabs.c
diff --git
a/functions/stdlib/llabs.c
b/functions/stdlib/llabs.c
index ab9aca10baeed9d245afe1903eb26b3ad655565d..876afa8ff3b2778caf4b1f62d566d7fa05f09420 100644
(file)
--- a/
functions/stdlib/llabs.c
+++ b/
functions/stdlib/llabs.c
@@
-23,10
+23,9
@@
long long int llabs( long long int j )
#include <_PDCLIB_test.h>
#include <limits.h>
#include <_PDCLIB_test.h>
#include <limits.h>
-int main()
+int main(
void
)
{
{
- BEGIN_TESTS;
- TESTCASE( llabs( 0 ) == 0 );
+ TESTCASE( llabs( 0ll ) == 0 );
TESTCASE( llabs( LLONG_MAX ) == LLONG_MAX );
TESTCASE( llabs( LLONG_MIN + 1 ) == -( LLONG_MIN + 1 ) );
return TEST_RESULTS;
TESTCASE( llabs( LLONG_MAX ) == LLONG_MAX );
TESTCASE( llabs( LLONG_MIN + 1 ) == -( LLONG_MIN + 1 ) );
return TEST_RESULTS;