diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-08 16:39:30 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-09 16:55:05 -0500 |
commit | c100ba13de481434bb7a019491d7f4c29ada09ab (patch) | |
tree | 103cea28c69f5b83b2845faa647cb4ce1266559e /testsuites/sptests/spqreslib/init.c | |
parent | rbtree: API changes. Remove rbtree control node from RBTree_Next. (diff) | |
download | rtems-c100ba13de481434bb7a019491d7f4c29ada09ab.tar.bz2 |
spqreslib - Make global data extern in system.h
Global data was declared in system.h but should have been extern
in system.h and declared in init.c. There were duplicate symbol
linking errors on at least powerpc/mpc8260ads.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/spqreslib/init.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/sptests/spqreslib/init.c b/testsuites/sptests/spqreslib/init.c index 20745d7ea2..139a56ec64 100644 --- a/testsuites/sptests/spqreslib/init.c +++ b/testsuites/sptests/spqreslib/init.c @@ -21,6 +21,12 @@ #define CONFIGURE_INIT #include "system.h" +rtems_id Task_id; +rtems_task_priority Priority; +time_t Period; +time_t Execution; +time_t Phase; + rtems_task Init( rtems_task_argument argument ) @@ -46,10 +52,9 @@ rtems_task Init( puts( "\n\n*** TEST QRES LIBRARY ***" ); - Task_name = rtems_build_name( 'P', 'T', '1', ' ' ); status = rtems_task_create( - Task_name, + rtems_build_name( 'P', 'T', '1', ' ' ), Priority, RTEMS_MINIMUM_STACK_SIZE * 4, RTEMS_DEFAULT_MODES, |