diff --git a/libs/libc/gdbstub/lib_gdbstub.c b/libs/libc/gdbstub/lib_gdbstub.c index 032fe55654..6204fffd01 100644 --- a/libs/libc/gdbstub/lib_gdbstub.c +++ b/libs/libc/gdbstub/lib_gdbstub.c @@ -53,7 +53,7 @@ #define BUFSIZE CONFIG_LIB_GDBSTUB_PKTSIZE #ifdef CONFIG_BOARD_MEMORY_RANGE -FAR const struct memory_region_s g_memory_region[] = +static const struct memory_region_s g_memory_region[] = { CONFIG_BOARD_MEMORY_RANGE };