declare internal variables as static
This commit is contained in:
parent
48343e99b8
commit
79556e9b02
8
main.c
8
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 },
|
||||
|
|
Loading…
Reference in a new issue