summaryrefslogtreecommitdiffstats
path: root/names.c
diff options
context:
space:
mode:
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;