summaryrefslogtreecommitdiffstats
path: root/names.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-10 21:29:23 +0000
committernicm <nicm>2016-10-10 21:29:23 +0000
commitc426e485e527a03aa3b4bdbb3203f621e006cbd5 (patch)
tree2f0add91706d06d7cf4d748294805c8d4d4d8d39 /names.c
parent66b5477cc1909e57489f854939a524ce2cd0f479 (diff)
Loads more static, except for cmd-*.c and window-*.c.
Diffstat (limited to 'names.c')
-rw-r--r--names.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/names.c b/names.c
index 485155ff..b83a0cb7 100644
--- a/names.c
+++ b/names.c
@@ -25,10 +25,10 @@
#include "tmux.h"
-void name_time_callback(int, short, void *);
-int name_time_expired(struct window *, struct timeval *);
+static void name_time_callback(int, short, void *);
+static int name_time_expired(struct window *, struct timeval *);
-void
+static void
name_time_callback(__unused int fd, __unused short events, void *arg)
{
struct window *w = arg;
@@ -37,7 +37,7 @@ name_time_callback(__unused int fd, __unused short events, void *arg)
log_debug("@%u name timer expired", w->id);
}
-int
+static int
name_time_expired(struct window *w, struct timeval *tv)
{
struct timeval offset;