[rtems commit] tmtests: refactored timesys.h, removed declarations
Joel Sherrill
joel at rtems.org
Tue Dec 10 02:00:05 UTC 2013
Module: rtems
Branch: master
Commit: 371f32f48e7a1491451ec137e32d5c19f1fbd976
Changeset: http://git.rtems.org/rtems/commit/?id=371f32f48e7a1491451ec137e32d5c19f1fbd976
Author: Daniel Ramirez <javamonn at gmail.com>
Date: Mon Dec 9 17:17:31 2013 -0600
tmtests: refactored timesys.h, removed declarations
---
testsuites/tmtests/include/timesys.h | 3 ---
testsuites/tmtests/tm01/system.h | 3 +++
testsuites/tmtests/tm09/system.h | 2 ++
testsuites/tmtests/tm15/system.h | 2 ++
testsuites/tmtests/tm16/system.h | 2 ++
testsuites/tmtests/tm17/system.h | 2 ++
testsuites/tmtests/tm19/system.h | 2 ++
testsuites/tmtests/tm20/system.h | 2 ++
testsuites/tmtests/tm27/system.h | 2 ++
testsuites/tmtests/tm28/system.h | 2 ++
testsuites/tmtests/tmck/system.h | 2 ++
11 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/testsuites/tmtests/include/timesys.h b/testsuites/tmtests/include/timesys.h
index de04813..6be7996 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 156b16b..0f8ca0f 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 5975ceb..11c93a7 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 d984514..d3d7750 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 35f74ca..9df28fc 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 d984514..d3d7750 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 b4844d2..211870d 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 f8e2ad5..1c5392a 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 d0d2843..e74a3f5 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 c7e45c0..217cd14 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 33d4fdb..58a631a 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
More information about the vc
mailing list