forked from auracaster/openocd
rtos: declare local symbols as static
Functions and variables that are not used outside the file should be declared as static. Change-Id: I9731a35496cd1c7421563c8961da5fa0e3cc71c3 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5894 Tested-by: jenkins Reviewed-by: Jonathan McDowell <noodles-openocd@earth.li>
This commit is contained in:
@@ -110,7 +110,7 @@ static const struct stack_register_offset rtos_threadx_arm926ejs_stack_offsets_i
|
||||
{ 16, 0x04, 32 }, /* xPSR */
|
||||
};
|
||||
|
||||
const struct rtos_register_stacking rtos_threadx_arm926ejs_stacking[] = {
|
||||
static const struct rtos_register_stacking rtos_threadx_arm926ejs_stacking[] = {
|
||||
{
|
||||
ARM926EJS_REGISTERS_SIZE_SOLICITED, /* stack_registers_size */
|
||||
-1, /* stack_growth_direction */
|
||||
|
||||
Reference in New Issue
Block a user