From 2153cbbee3abdb8d08cebbaafded58db0e9bf3b4 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 16 Sep 2024 06:22:20 +0200 Subject: [PATCH] Reduce global variable scope to file-local Signed-off-by: DL6ER --- src/timers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timers.c b/src/timers.c index d153ccdc..ddfddb0b 100644 --- a/src/timers.c +++ b/src/timers.c @@ -16,7 +16,7 @@ // set_blockingmode() #include "config/config.h" -struct timespec t0[NUMTIMERS]; +static struct timespec t0[NUMTIMERS]; void timer_start(const enum timers i) {