diff options
author | nicm <nicm> | 2016-10-11 13:21:59 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-10-11 13:21:59 +0000 |
commit | e45401846f0a423bb90ebd3943041a28b2657631 (patch) | |
tree | 9d5d914a2e67829e5729f775e6f95fb460c36cbc /names.c | |
parent | 85d7afaefc1e2cf8008575a776ec70f51d24e1a6 (diff) | |
download | rtmux-e45401846f0a423bb90ebd3943041a28b2657631.tar.gz rtmux-e45401846f0a423bb90ebd3943041a28b2657631.tar.bz2 rtmux-e45401846f0a423bb90ebd3943041a28b2657631.zip |
Add static in window-*.c and move some internal functions out of tmux.h.
Diffstat (limited to 'names.c')
-rw-r--r-- | names.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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; |