From 79556e9b02c399eff9a684463847f1c63d3322a1 Mon Sep 17 00:00:00 2001 From: NRK Date: Thu, 3 Feb 2022 15:44:10 +0600 Subject: declare internal variables as static --- main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 58538f0..ebbbc3a 100644 --- a/main.c +++ b/main.c @@ -66,7 +66,7 @@ int markcnt; int markidx; int prefix; -bool extprefix; +static bool extprefix; static bool resized = false; @@ -75,19 +75,19 @@ typedef struct { char *cmd; } extcmd_t; -struct { +static struct { extcmd_t f; int fd; unsigned int i, lastsep; pid_t pid; } info; -struct { +static struct { extcmd_t f; bool warned; } keyhandler; -timeout_t timeouts[] = { +static timeout_t timeouts[] = { { { 0, 0 }, false, redraw }, { { 0, 0 }, false, reset_cursor }, { { 0, 0 }, false, animate }, -- cgit v1.2.3