diff --git a/c/src/tests/support/include/tmacros.h b/c/src/tests/support/include/tmacros.h index 8a5fad37c8..1d6f3a9a7f 100644 --- a/c/src/tests/support/include/tmacros.h +++ b/c/src/tests/support/include/tmacros.h @@ -21,10 +21,12 @@ extern "C" { #endif -#include "bsp.h" -#include "stdio.h" -#include "stdlib.h" -#include "libcsupport.h" +#include +#include + +#include +#include +#include #define FOREVER 1 /* infinite loop */ @@ -59,7 +61,7 @@ extern "C" { #define pause() \ do { \ char buffer[ 80 ]; \ - printf( " " ); fflush( stdout ); \ + printf( "" ); fflush( stdout ); \ gets( buffer ); \ puts( "" ); \ } while ( 0 ) @@ -67,7 +69,7 @@ extern "C" { #define pause_and_screen_number( _screen ) \ do { \ char buffer[ 80 ]; \ - printf( " ", (_screen) ); fflush( stdout ); \ + printf( " ", (_screen) ); fflush( stdout ); \ gets( buffer ); \ puts( "" ); \ } while ( 0 ) diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h index 8a5fad37c8..1d6f3a9a7f 100644 --- a/testsuites/support/include/tmacros.h +++ b/testsuites/support/include/tmacros.h @@ -21,10 +21,12 @@ extern "C" { #endif -#include "bsp.h" -#include "stdio.h" -#include "stdlib.h" -#include "libcsupport.h" +#include +#include + +#include +#include +#include #define FOREVER 1 /* infinite loop */ @@ -59,7 +61,7 @@ extern "C" { #define pause() \ do { \ char buffer[ 80 ]; \ - printf( " " ); fflush( stdout ); \ + printf( "" ); fflush( stdout ); \ gets( buffer ); \ puts( "" ); \ } while ( 0 ) @@ -67,7 +69,7 @@ extern "C" { #define pause_and_screen_number( _screen ) \ do { \ char buffer[ 80 ]; \ - printf( " ", (_screen) ); fflush( stdout ); \ + printf( " ", (_screen) ); fflush( stdout ); \ gets( buffer ); \ puts( "" ); \ } while ( 0 )