forked from Imagelibrary/rtems
cleanup
This commit is contained in:
@@ -21,10 +21,12 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "bsp.h"
|
#include <rtems.h>
|
||||||
#include "stdio.h"
|
#include <bsp.h>
|
||||||
#include "stdlib.h"
|
|
||||||
#include "libcsupport.h"
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <libcsupport.h>
|
||||||
|
|
||||||
#define FOREVER 1 /* infinite loop */
|
#define FOREVER 1 /* infinite loop */
|
||||||
|
|
||||||
@@ -59,7 +61,7 @@ extern "C" {
|
|||||||
#define pause() \
|
#define pause() \
|
||||||
do { \
|
do { \
|
||||||
char buffer[ 80 ]; \
|
char buffer[ 80 ]; \
|
||||||
printf( "<pause> " ); fflush( stdout ); \
|
printf( "<pause>" ); fflush( stdout ); \
|
||||||
gets( buffer ); \
|
gets( buffer ); \
|
||||||
puts( "" ); \
|
puts( "" ); \
|
||||||
} while ( 0 )
|
} while ( 0 )
|
||||||
@@ -67,7 +69,7 @@ extern "C" {
|
|||||||
#define pause_and_screen_number( _screen ) \
|
#define pause_and_screen_number( _screen ) \
|
||||||
do { \
|
do { \
|
||||||
char buffer[ 80 ]; \
|
char buffer[ 80 ]; \
|
||||||
printf( "<pause - screen %d> ", (_screen) ); fflush( stdout ); \
|
printf( "<pause - screen %d> ", (_screen) ); fflush( stdout ); \
|
||||||
gets( buffer ); \
|
gets( buffer ); \
|
||||||
puts( "" ); \
|
puts( "" ); \
|
||||||
} while ( 0 )
|
} while ( 0 )
|
||||||
|
|||||||
@@ -21,10 +21,12 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "bsp.h"
|
#include <rtems.h>
|
||||||
#include "stdio.h"
|
#include <bsp.h>
|
||||||
#include "stdlib.h"
|
|
||||||
#include "libcsupport.h"
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <libcsupport.h>
|
||||||
|
|
||||||
#define FOREVER 1 /* infinite loop */
|
#define FOREVER 1 /* infinite loop */
|
||||||
|
|
||||||
@@ -59,7 +61,7 @@ extern "C" {
|
|||||||
#define pause() \
|
#define pause() \
|
||||||
do { \
|
do { \
|
||||||
char buffer[ 80 ]; \
|
char buffer[ 80 ]; \
|
||||||
printf( "<pause> " ); fflush( stdout ); \
|
printf( "<pause>" ); fflush( stdout ); \
|
||||||
gets( buffer ); \
|
gets( buffer ); \
|
||||||
puts( "" ); \
|
puts( "" ); \
|
||||||
} while ( 0 )
|
} while ( 0 )
|
||||||
@@ -67,7 +69,7 @@ extern "C" {
|
|||||||
#define pause_and_screen_number( _screen ) \
|
#define pause_and_screen_number( _screen ) \
|
||||||
do { \
|
do { \
|
||||||
char buffer[ 80 ]; \
|
char buffer[ 80 ]; \
|
||||||
printf( "<pause - screen %d> ", (_screen) ); fflush( stdout ); \
|
printf( "<pause - screen %d> ", (_screen) ); fflush( stdout ); \
|
||||||
gets( buffer ); \
|
gets( buffer ); \
|
||||||
puts( "" ); \
|
puts( "" ); \
|
||||||
} while ( 0 )
|
} while ( 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user