Commit 2010caea by Andreas Tobler Committed by Andreas Tobler

many_win32.c: Remove whitespaces.

2004-09-05  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/libffi.call/many_win32.c: Remove whitespaces.
	* testsuite/libffi.call/promotion.c: Likewise.
	* testsuite/libffi.call/return_ll.c: Remove unused var. Cleanup
	whitespaces.
	* testsuite/libffi.call/return_sc.c: Likewise.
	* testsuite/libffi.call/return_uc.c: Likewise.

From-SVN: r87091
parent 894be816
2004-09-05 Andreas Tobler <a.tobler@schweiz.ch> 2004-09-05 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/libffi.call/many_win32.c: Remove whitespaces.
* testsuite/libffi.call/promotion.c: Likewise.
* testsuite/libffi.call/return_ll.c: Remove unused var. Cleanup
whitespaces.
* testsuite/libffi.call/return_sc.c: Likewise.
* testsuite/libffi.call/return_uc.c: Likewise.
2004-09-05 Andreas Tobler <a.tobler@schweiz.ch>
* src/powerpc/darwin.S: Fix comments and identation. * src/powerpc/darwin.S: Fix comments and identation.
* src/powerpc/darwin_closure.S: Likewise. * src/powerpc/darwin_closure.S: Likewise.
......
...@@ -18,8 +18,6 @@ int main (void) ...@@ -18,8 +18,6 @@ int main (void)
void *values[MAX_ARGS]; void *values[MAX_ARGS];
long long rlonglong; long long rlonglong;
long long ll; long long ll;
unsigned long ul;
args[0] = &ffi_type_sint64; args[0] = &ffi_type_sint64;
values[0] = &ll; values[0] = &ll;
...@@ -30,14 +28,12 @@ int main (void) ...@@ -30,14 +28,12 @@ int main (void)
for (ll = 0LL; ll < 100LL; ll++) for (ll = 0LL; ll < 100LL; ll++)
{ {
ul++;
ffi_call(&cif, FFI_FN(return_ll), &rlonglong, values); ffi_call(&cif, FFI_FN(return_ll), &rlonglong, values);
CHECK(rlonglong == ll); CHECK(rlonglong == ll);
} }
for (ll = 55555555555000LL; ll < 55555555555100LL; ll++) for (ll = 55555555555000LL; ll < 55555555555100LL; ll++)
{ {
ul++;
ffi_call(&cif, FFI_FN(return_ll), &rlonglong, values); ffi_call(&cif, FFI_FN(return_ll), &rlonglong, values);
CHECK(rlonglong == ll); CHECK(rlonglong == ll);
} }
......
...@@ -18,7 +18,6 @@ int main (void) ...@@ -18,7 +18,6 @@ int main (void)
void *values[MAX_ARGS]; void *values[MAX_ARGS];
ffi_arg rint; ffi_arg rint;
signed char sc; signed char sc;
unsigned long ul;
args[0] = &ffi_type_schar; args[0] = &ffi_type_schar;
values[0] = &sc; values[0] = &sc;
...@@ -30,7 +29,6 @@ int main (void) ...@@ -30,7 +29,6 @@ int main (void)
for (sc = (signed char) -127; for (sc = (signed char) -127;
sc < (signed char) 127; sc++) sc < (signed char) 127; sc++)
{ {
ul++;
ffi_call(&cif, FFI_FN(return_sc), &rint, values); ffi_call(&cif, FFI_FN(return_sc), &rint, values);
CHECK(rint == (ffi_arg) sc); CHECK(rint == (ffi_arg) sc);
} }
......
...@@ -20,7 +20,6 @@ int main (void) ...@@ -20,7 +20,6 @@ int main (void)
ffi_arg rint; ffi_arg rint;
unsigned char uc; unsigned char uc;
unsigned long ul;
args[0] = &ffi_type_uchar; args[0] = &ffi_type_uchar;
values[0] = &uc; values[0] = &uc;
...@@ -32,7 +31,6 @@ int main (void) ...@@ -32,7 +31,6 @@ int main (void)
for (uc = (unsigned char) '\x00'; for (uc = (unsigned char) '\x00';
uc < (unsigned char) '\xff'; uc++) uc < (unsigned char) '\xff'; uc++)
{ {
ul++;
ffi_call(&cif, FFI_FN(return_uc), &rint, values); ffi_call(&cif, FFI_FN(return_uc), &rint, values);
CHECK(rint == (signed int) uc); CHECK(rint == (signed int) uc);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment