From c100ba13de481434bb7a019491d7f4c29ada09ab Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 8 May 2012 16:39:30 -0500 Subject: 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. --- testsuites/sptests/spqreslib/system.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'testsuites/sptests/spqreslib/system.h') diff --git a/testsuites/sptests/spqreslib/system.h b/testsuites/sptests/spqreslib/system.h index 1f229687c7..505ec0a85e 100644 --- a/testsuites/sptests/spqreslib/system.h +++ b/testsuites/sptests/spqreslib/system.h @@ -52,11 +52,10 @@ rtems_task Task_Periodic( /* global variables */ -rtems_id Task_id; -rtems_name Task_name; -rtems_task_priority Priority; -time_t Period; -time_t Execution; -time_t Phase; +extern rtems_id Task_id; +extern rtems_task_priority Priority; +extern time_t Period; +extern time_t Execution; +extern time_t Phase; /* end of include file */ -- cgit v1.2.3