summaryrefslogtreecommitdiffstats
path: root/testsuites/support/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-11 14:33:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-11 14:33:56 +0000
commit8d47a15eb9285633902bcad9e76f6d32f59c2af3 (patch)
treeaf78b6ca76cddfae256a56e7034919cfdf8a3ee1 /testsuites/support/include
parentAdded functions to access the errno of the native system when using the (diff)
downloadrtems-8d47a15eb9285633902bcad9e76f6d32f59c2af3.tar.bz2
cleanup
Diffstat (limited to 'testsuites/support/include')
-rw-r--r--testsuites/support/include/tmacros.h14
1 files changed, 8 insertions, 6 deletions
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 <rtems.h>
+#include <bsp.h>
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <libcsupport.h>
#define FOREVER 1 /* infinite loop */
@@ -59,7 +61,7 @@ extern "C" {
#define pause() \
do { \
char buffer[ 80 ]; \
- printf( "<pause> " ); fflush( stdout ); \
+ printf( "<pause>" ); fflush( stdout ); \
gets( buffer ); \
puts( "" ); \
} while ( 0 )
@@ -67,7 +69,7 @@ extern "C" {
#define pause_and_screen_number( _screen ) \
do { \
char buffer[ 80 ]; \
- printf( "<pause - screen %d> ", (_screen) ); fflush( stdout ); \
+ printf( "<pause - screen %d> ", (_screen) ); fflush( stdout ); \
gets( buffer ); \
puts( "" ); \
} while ( 0 )