diff options
Diffstat (limited to 'testsuites/samples/hello')
-rw-r--r-- | testsuites/samples/hello/init.c | 5 | ||||
-rw-r--r-- | testsuites/samples/hello/system.h | 19 |
2 files changed, 12 insertions, 12 deletions
diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c index 9c56c4edda..c1c25bf045 100644 --- a/testsuites/samples/hello/init.c +++ b/testsuites/samples/hello/init.c @@ -21,11 +21,8 @@ * $Id$ */ +#define TEST_INIT #include "system.h" -#undef EXTERN -#define EXTERN -#include "conftbl.h" -#include "gvar.h" #include <stdio.h> rtems_task Init( diff --git a/testsuites/samples/hello/system.h b/testsuites/samples/hello/system.h index 49deb52d4a..8af4376e0f 100644 --- a/testsuites/samples/hello/system.h +++ b/testsuites/samples/hello/system.h @@ -14,19 +14,22 @@ * $Id$ */ -#include <rtems.h> -#include <bsp.h> +#include <tmacros.h> -#include <stdio.h> +/* functions */ -/* Miscellaneous */ +rtems_task Init( + rtems_task_argument argument +); -#define EXTERN extern /* external definition */ +/* configuration information */ -/* macros */ +#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER -/* structures */ +#include <confdefs.h> -#include "gvar.h" +/* global variables */ + +TEST_EXTERN rtems_id Global_variable; /* example global variable */ /* end of include file */ |