Mercurial > ecos-v2_0-branch
comparison packages/kernel/current/tests/fptest.c @ 757:2a0d627c63ac
* 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 17:07:02 +0000 |
| parents | 7243675fa2a7 |
| children |
comparison
equal
deleted
inserted
replaced
| 756:bc465c81dc32 | 757:2a0d627c63ac |
|---|---|
| 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 |
