comparison packages/kernel/current/tests/fptest.c @ 782:a9ff9f7e3010

* tests/fptest.c: Make all variables static to avoid any risk of collisions with symbols defined elsewhere in eCos.
author jlarmour
date Mon, 03 Mar 2003 05:15:52 +0000
parents 74589c7c236e
children 92cf4ff674de
comparison
equal deleted inserted replaced
781:51ca07f4ffe3 782:a9ff9f7e3010
87 //========================================================================== 87 //==========================================================================
88 // Thread parameters 88 // Thread parameters
89 89
90 #define STACK_SIZE (CYGNUM_HAL_STACK_SIZE_MINIMUM) 90 #define STACK_SIZE (CYGNUM_HAL_STACK_SIZE_MINIMUM)
91 91
92 cyg_uint8 stacks[3][STACK_SIZE]; 92 static cyg_uint8 stacks[3][STACK_SIZE];
93 cyg_handle_t thread[3]; 93 static cyg_handle_t thread[3];
94 cyg_thread thread_struct[3]; 94 static cyg_thread thread_struct[3];
95 95
96 //========================================================================== 96 //==========================================================================
97 // Alarm parameters. 97 // Alarm parameters.
98 98
99 cyg_alarm alarm_struct; 99 static cyg_alarm alarm_struct;
100 cyg_handle_t alarm; 100 static cyg_handle_t alarm;
101 101
102 cyg_count8 cur_thread = 0; 102 static cyg_count8 cur_thread = 0;
103 cyg_count32 alarm_ticks = 0; 103 static cyg_count32 alarm_ticks = 0;
104 cyg_count32 run_ticks = RUN_TICKS; 104 static cyg_count32 run_ticks = RUN_TICKS;
105 105
106 //========================================================================== 106 //==========================================================================
107 107
108 static int errors = 0; 108 static int errors = 0;
109 109