From d3bff4e5c42b6b3af65e31fbf2409fa3d88d1a03 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Wed, 28 Oct 2020 23:39:34 +0100 Subject: 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 Reviewed-on: http://openocd.zylin.com/5894 Tested-by: jenkins Reviewed-by: Jonathan McDowell --- src/rtos/nuttx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rtos/nuttx.c') diff --git a/src/rtos/nuttx.c b/src/rtos/nuttx.c index 3c90625..19b93ba 100644 --- a/src/rtos/nuttx.c +++ b/src/rtos/nuttx.c @@ -72,7 +72,7 @@ struct tcb { uint8_t dat[512]; }; -struct { +static struct { uint32_t addr; uint32_t prio; } g_tasklist[TASK_QUEUE_NUM]; -- cgit v1.1