# HG changeset patch # User jlarmour # Date 1046668552 0 # Node ID a9ff9f7e3010a614bde6907946c5598abc9b92bb # Parent 51ca07f4ffe33d6fb7614f6de6c846731fbf2319 * tests/fptest.c: Make all variables static to avoid any risk of collisions with symbols defined elsewhere in eCos. diff --git a/packages/kernel/current/ChangeLog b/packages/kernel/current/ChangeLog --- a/packages/kernel/current/ChangeLog +++ b/packages/kernel/current/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/packages/kernel/current/tests/fptest.c b/packages/kernel/current/tests/fptest.c --- a/packages/kernel/current/tests/fptest.c +++ b/packages/kernel/current/tests/fptest.c @@ -89,19 +89,19 @@ #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; //==========================================================================