diff options
author | 2016-10-11 13:21:59 +0000 | |
---|---|---|
committer | 2016-10-11 13:21:59 +0000 | |
commit | ced217699ffe77cdcd68550d0cd5144e02885fbd (patch) | |
tree | 4e8db157c9069258d6ed1270a2ee874d6502ef41 /usr.bin/tmux/names.c | |
parent | missing .Fl macro, from Jan Stary (diff) | |
download | wireguard-openbsd-ced217699ffe77cdcd68550d0cd5144e02885fbd.tar.xz wireguard-openbsd-ced217699ffe77cdcd68550d0cd5144e02885fbd.zip |
Add static in window-*.c and move some internal functions out of tmux.h.
Diffstat (limited to 'usr.bin/tmux/names.c')
-rw-r--r-- | usr.bin/tmux/names.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/tmux/names.c b/usr.bin/tmux/names.c index 15c0ad00227..8e2a783fefd 100644 --- a/usr.bin/tmux/names.c +++ b/usr.bin/tmux/names.c @@ -1,4 +1,4 @@ -/* $OpenBSD: names.c,v 1.36 2016/10/10 21:29:23 nicm Exp $ */ +/* $OpenBSD: names.c,v 1.37 2016/10/11 13:21:59 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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; |