Index: ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/kernel/current/ChangeLog,v retrieving revision 1.98 diff -u -5 -p -r1.98 ChangeLog --- ChangeLog 27 Feb 2003 06:14:31 -0000 1.98 +++ ChangeLog 3 Mar 2003 04:18:50 -0000 @@ -1,5 +1,10 @@ +2003-03-03 Jonathan Larmour + + * tests/fptest.c: Make all variables static to avoid any risk + of collisions with symbols defined elsewhere in eCos. + 2003-02-27 Jonathan Larmour * include/kapidata.h: Revert change of 2001-08-23 and instead make it conditional on the GCC version. Also add comments explaining why this file has been apparently obfuscated. Index: tests/fptest.c =================================================================== RCS file: /cvs/ecos/ecos/packages/kernel/current/tests/fptest.c,v retrieving revision 1.3 diff -u -5 -p -r1.3 fptest.c --- tests/fptest.c 25 Feb 2003 18:42:00 -0000 1.3 +++ tests/fptest.c 3 Mar 2003 04:18:50 -0000 @@ -87,23 +87,23 @@ //========================================================================== // Thread parameters #define STACK_SIZE (CYGNUM_HAL_STACK_SIZE_MINIMUM) -cyg_uint8 stacks[3][STACK_SIZE]; -cyg_handle_t thread[3]; -cyg_thread thread_struct[3]; +static cyg_uint8 stacks[3][STACK_SIZE]; +static cyg_handle_t thread[3]; +static cyg_thread thread_struct[3]; //========================================================================== // Alarm parameters. -cyg_alarm alarm_struct; -cyg_handle_t alarm; +static cyg_alarm alarm_struct; +static cyg_handle_t alarm; -cyg_count8 cur_thread = 0; -cyg_count32 alarm_ticks = 0; -cyg_count32 run_ticks = RUN_TICKS; +static cyg_count8 cur_thread = 0; +static cyg_count32 alarm_ticks = 0; +static cyg_count32 run_ticks = RUN_TICKS; //========================================================================== static int errors = 0;