diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-20 07:09:31 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-20 07:09:31 +0000 |
commit | 8f71a36f710b6196b4854760785c614910da3ff7 (patch) | |
tree | 1f40fff31f74b5093d99a87f539c3b5144621579 /testsuites/support | |
parent | 2004-04-19 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-8f71a36f710b6196b4854760785c614910da3ff7.tar.bz2 |
Remove stray white spaces.
Diffstat (limited to 'testsuites/support')
-rw-r--r-- | testsuites/support/include/buffer_test_io.h | 12 | ||||
-rw-r--r-- | testsuites/support/include/tmacros.h | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/testsuites/support/include/buffer_test_io.h b/testsuites/support/include/buffer_test_io.h index bfeeb0b40a..18902424f0 100644 --- a/testsuites/support/include/buffer_test_io.h +++ b/testsuites/support/include/buffer_test_io.h @@ -1,6 +1,6 @@ /* * Support for running the test output through a buffer - * + * * $Id$ */ @@ -27,7 +27,7 @@ extern "C" { #undef printf #define printf(...) \ do { \ - iprintf( __VA_ARGS__); \ + iprintf( __VA_ARGS__); \ } while (0) #endif @@ -58,7 +58,7 @@ void _test_output_flush(void); #define printf(...) \ do { \ char _buffer[128]; \ - sprintf( _buffer, __VA_ARGS__); \ + sprintf( _buffer, __VA_ARGS__); \ _test_output_append( _buffer ); \ } while (0) @@ -66,7 +66,7 @@ void _test_output_flush(void); #define puts(_string) \ do { \ char _buffer[128]; \ - sprintf( _buffer, "%s\n", _string ); \ + sprintf( _buffer, "%s\n", _string ); \ _test_output_append( _buffer ); \ } while (0) @@ -90,7 +90,7 @@ int _test_output_buffer_index = 0; void _test_output_append(char *_buffer) { char *p; - + for ( p=_buffer ; *p ; p++ ) { _test_output_buffer[_test_output_buffer_index++] = *p; _test_output_buffer[_test_output_buffer_index] = '\0'; @@ -101,7 +101,7 @@ void _test_output_append(char *_buffer) _test_output_buffer[0] = '\0'; } #endif - if ( _test_output_buffer_index >= (_TEST_OUTPUT_BUFFER_SIZE - 80) ) + if ( _test_output_buffer_index >= (_TEST_OUTPUT_BUFFER_SIZE - 80) ) _test_output_flush(); } } diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h index cae7b5d9aa..956bee969c 100644 --- a/testsuites/support/include/tmacros.h +++ b/testsuites/support/include/tmacros.h @@ -31,7 +31,7 @@ extern "C" { #define FOREVER 1 /* infinite loop */ #ifdef TEST_INIT -#define TEST_EXTERN +#define TEST_EXTERN #define CONFIGURE_INIT #else #define TEST_EXTERN extern @@ -53,7 +53,7 @@ extern "C" { FLUSH_OUTPUT(); \ rtems_test_exit( 1 ); \ } \ - } while ( 0 ) + } while ( 0 ) /* * These macros properly report errors within the Classic API @@ -83,7 +83,7 @@ extern "C" { do { \ check_dispatch_disable_level( _level ); \ fatal_directive_check_status_only( _stat, _desired, _msg ); \ - } while ( 0 ) + } while ( 0 ) /* * These macros properly report errors from the POSIX API |