diff options
author | NRK <nrk@disroot.org> | 2022-02-03 15:44:10 +0600 |
---|---|---|
committer | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2022-02-17 06:16:19 +0000 |
commit | 79556e9b02c399eff9a684463847f1c63d3322a1 (patch) | |
tree | 2f8bf17ceb6aadcb641015a6a62f827e98598af6 | |
parent | 48343e99b8bb27fdc7763e521ea7e651ecc7a7ba (diff) |
declare internal variables as static
-rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 }, |