Loads more static, except for cmd-*.c and window-*.c.

This commit is contained in:
nicm
2016-10-10 21:29:23 +00:00
parent 66b5477cc1
commit c426e485e5
25 changed files with 301 additions and 295 deletions

4
cfg.c
View File

@ -36,7 +36,7 @@ char **cfg_causes;
u_int cfg_ncauses;
struct client *cfg_client;
void cfg_default_done(struct cmd_q *);
static void cfg_default_done(struct cmd_q *);
void
set_cfg_file(const char *path)
@ -126,7 +126,7 @@ load_cfg(const char *path, struct cmd_q *cmdq, int quiet)
return (found);
}
void
static void
cfg_default_done(__unused struct cmd_q *cmdq)
{
if (--cfg_references != 0)