summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Ramirez <javamonn@gmail.com>2013-12-09 17:17:31 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-12-09 19:55:35 -0600
commit371f32f48e7a1491451ec137e32d5c19f1fbd976 (patch)
tree57c0db5a5a6da69890374e57574bb7cbff6e4e51
parentMerge branch 'master' into am (diff)
downloadrtems-371f32f48e7a1491451ec137e32d5c19f1fbd976.tar.bz2
tmtests: refactored timesys.h, removed declarations
-rw-r--r--testsuites/tmtests/include/timesys.h3
-rw-r--r--testsuites/tmtests/tm01/system.h3
-rw-r--r--testsuites/tmtests/tm09/system.h2
-rw-r--r--testsuites/tmtests/tm15/system.h2
-rw-r--r--testsuites/tmtests/tm16/system.h2
-rw-r--r--testsuites/tmtests/tm17/system.h2
-rw-r--r--testsuites/tmtests/tm19/system.h2
-rw-r--r--testsuites/tmtests/tm20/system.h2
-rw-r--r--testsuites/tmtests/tm27/system.h2
-rw-r--r--testsuites/tmtests/tm28/system.h2
-rw-r--r--testsuites/tmtests/tmck/system.h2
11 files changed, 21 insertions, 3 deletions
diff --git a/testsuites/tmtests/include/timesys.h b/testsuites/tmtests/include/timesys.h
index de048131c4..6be7996aee 100644
--- a/testsuites/tmtests/include/timesys.h
+++ b/testsuites/tmtests/include/timesys.h
@@ -63,7 +63,4 @@
TEST_EXTERN volatile uint32_t end_time; /* ending time variable */
TEST_EXTERN volatile uint32_t overhead; /* loop overhead variable */
-TEST_EXTERN rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */
-TEST_EXTERN rtems_name Task_name[ OPERATION_COUNT+1 ]; /* array of task names */
-
/* end of include file */
diff --git a/testsuites/tmtests/tm01/system.h b/testsuites/tmtests/tm01/system.h
index 156b16b55e..0f8ca0fd5c 100644
--- a/testsuites/tmtests/tm01/system.h
+++ b/testsuites/tmtests/tm01/system.h
@@ -22,6 +22,9 @@ rtems_task Init(
#include <timesys.h>
+rtems_name Task_name[ OPERATION_COUNT+1 ]; /* array of task names */
+rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */
+
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
diff --git a/testsuites/tmtests/tm09/system.h b/testsuites/tmtests/tm09/system.h
index 5975ceb2f4..11c93a721b 100644
--- a/testsuites/tmtests/tm09/system.h
+++ b/testsuites/tmtests/tm09/system.h
@@ -24,6 +24,8 @@ rtems_task Init(
#include <timesys.h>
+rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */
+
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
diff --git a/testsuites/tmtests/tm15/system.h b/testsuites/tmtests/tm15/system.h
index d984514db3..d3d7750825 100644
--- a/testsuites/tmtests/tm15/system.h
+++ b/testsuites/tmtests/tm15/system.h
@@ -22,6 +22,8 @@ rtems_task Init(
#include <timesys.h>
+rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */
+
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
diff --git a/testsuites/tmtests/tm16/system.h b/testsuites/tmtests/tm16/system.h
index 35f74caf91..9df28fce6e 100644
--- a/testsuites/tmtests/tm16/system.h
+++ b/testsuites/tmtests/tm16/system.h
@@ -22,6 +22,8 @@ rtems_task Init(
#include <timesys.h>
+rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */
+
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
diff --git a/testsuites/tmtests/tm17/system.h b/testsuites/tmtests/tm17/system.h
index d984514db3..d3d7750825 100644
--- a/testsuites/tmtests/tm17/system.h
+++ b/testsuites/tmtests/tm17/system.h
@@ -22,6 +22,8 @@ rtems_task Init(
#include <timesys.h>
+rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */
+
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
diff --git a/testsuites/tmtests/tm19/system.h b/testsuites/tmtests/tm19/system.h
index b4844d2750..211870de5f 100644
--- a/testsuites/tmtests/tm19/system.h
+++ b/testsuites/tmtests/tm19/system.h
@@ -22,6 +22,8 @@ rtems_task Init(
#include <timesys.h>
+rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */
+
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
diff --git a/testsuites/tmtests/tm20/system.h b/testsuites/tmtests/tm20/system.h
index f8e2ad58a1..1c5392a696 100644
--- a/testsuites/tmtests/tm20/system.h
+++ b/testsuites/tmtests/tm20/system.h
@@ -22,6 +22,8 @@ rtems_task Init(
#include <timesys.h>
+rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */
+
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
diff --git a/testsuites/tmtests/tm27/system.h b/testsuites/tmtests/tm27/system.h
index d0d28434a6..e74a3f56f3 100644
--- a/testsuites/tmtests/tm27/system.h
+++ b/testsuites/tmtests/tm27/system.h
@@ -22,6 +22,8 @@ rtems_task Init(
#include <timesys.h>
+rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */
+
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
diff --git a/testsuites/tmtests/tm28/system.h b/testsuites/tmtests/tm28/system.h
index c7e45c06af..217cd14a8c 100644
--- a/testsuites/tmtests/tm28/system.h
+++ b/testsuites/tmtests/tm28/system.h
@@ -22,6 +22,8 @@ rtems_task Init(
#include <timesys.h>
+rtems_id Task_id[ OPERATION_COUNT+1 ]; /* array of task ids */
+
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
diff --git a/testsuites/tmtests/tmck/system.h b/testsuites/tmtests/tmck/system.h
index 33d4fdb96e..58a631aa1e 100644
--- a/testsuites/tmtests/tmck/system.h
+++ b/testsuites/tmtests/tmck/system.h
@@ -22,6 +22,8 @@ rtems_task Init(
#include <timesys.h>
+rtems_name Task_name[ OPERATION_COUNT+1 ]; /* array of task names */
+
/* configuration information */
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER