Add static in window-*.c and move some internal functions out of tmux.h.

This commit is contained in:
nicm
2016-10-11 13:21:59 +00:00
parent 85d7afaefc
commit e45401846f
13 changed files with 233 additions and 237 deletions

View File

@ -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;