summaryrefslogtreecommitdiffstats
path: root/rtems-test-template/psxtmtest_init_destroy/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtems-test-template/psxtmtest_init_destroy/init.c')
-rw-r--r--rtems-test-template/psxtmtest_init_destroy/init.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/rtems-test-template/psxtmtest_init_destroy/init.c b/rtems-test-template/psxtmtest_init_destroy/init.c
index 975ce50..f8f1470 100644
--- a/rtems-test-template/psxtmtest_init_destroy/init.c
+++ b/rtems-test-template/psxtmtest_init_destroy/init.c
@@ -24,12 +24,7 @@
const char rtems_test_name[] = "@UPPER@";
-/* forward declarations to avoid warnings */
-void *POSIX_Init(void *argument);
-void benchmark_NAME_OF_CREATE_OPERATION(void);
-void benchmark_NAME_OF_DELETE_OPERATION(void);
-
-void benchmark_NAME_OF_CREATE_OPERATION(void)
+static void benchmark_NAME_OF_CREATE_OPERATION(void)
{
long end_time;
int status;
@@ -50,7 +45,7 @@ void benchmark_NAME_OF_CREATE_OPERATION(void)
}
-void benchmark_NAME_OF_DELETE_OPERATION(void)
+static void benchmark_NAME_OF_DELETE_OPERATION(void)
{
long end_time;
int status;
@@ -71,7 +66,7 @@ void benchmark_NAME_OF_DELETE_OPERATION(void)
}
-void *POSIX_Init(
+static void *POSIX_Init(
void *argument
)
{
@@ -89,7 +84,7 @@ void *POSIX_Init(
/* configuration information */
-#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
/* XXX configure an instance of the object created/destroyed */