diff options
author | NRK <nrk@disroot.org> | 2022-02-03 10:44:10 +0100 |
---|---|---|
committer | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2022-02-17 07:16:19 +0100 |
commit | 79556e9b02c399eff9a684463847f1c63d3322a1 (patch) | |
tree | 2f8bf17ceb6aadcb641015a6a62f827e98598af6 /main.c | |
parent | 48343e99b8bb27fdc7763e521ea7e651ecc7a7ba (diff) | |
download | nsxiv-79556e9b02c399eff9a684463847f1c63d3322a1.tar.zst |
declare internal variables as static
Diffstat (limited to 'main.c')
-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 }, |