[Pdbg] [PATCH v2 07/38] gdbserver: Make command static
Nicholas Piggin
npiggin at gmail.com
Wed Mar 30 02:49:00 AEDT 2022
The command array is local, make it static.
Reviewed-by: Joel Stanley <joel at jms.id.au>
Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
src/pdbgproxy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pdbgproxy.c b/src/pdbgproxy.c
index e32f518..5a8b5f9 100644
--- a/src/pdbgproxy.c
+++ b/src/pdbgproxy.c
@@ -405,7 +405,7 @@ static int read_from_client(int fd)
return 0;
}
-command_cb callbacks[LAST_CMD + 1] = {
+static command_cb callbacks[LAST_CMD + 1] = {
cmd_default,
get_gprs,
get_spr,
--
2.23.0
More information about the Pdbg
mailing list