summaryrefslogtreecommitdiffstats
path: root/names.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-11 13:21:59 +0000
committernicm <nicm>2016-10-11 13:21:59 +0000
commite45401846f0a423bb90ebd3943041a28b2657631 (patch)
tree9d5d914a2e67829e5729f775e6f95fb460c36cbc /names.c
parent85d7afaefc1e2cf8008575a776ec70f51d24e1a6 (diff)
Add static in window-*.c and move some internal functions out of tmux.h.
Diffstat (limited to 'names.c')
-rw-r--r--names.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/names.c b/names.c
index b83a0cb7..6a368825 100644
--- a/names.c
+++ b/names.c
@@ -25,8 +25,10 @@
#include "tmux.h"
-static void name_time_callback(int, short, void *);
-static 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 *);
+
+static char *format_window_name(struct window *);
static void
name_time_callback(__unused int fd, __unused short events, void *arg)
@@ -115,7 +117,7 @@ default_window_name(struct window *w)
return (s);
}
-char *
+static char *
format_window_name(struct window *w)
{
struct format_tree *ft;