diff options
author | 2016-10-10 21:29:23 +0000 | |
---|---|---|
committer | 2016-10-10 21:29:23 +0000 | |
commit | 9883b791a07beb4d0cb6aad5076fe1790df94392 (patch) | |
tree | f57a4fead4e6082c2f973c34b5b8a3d46ef3191e /usr.bin/tmux/names.c | |
parent | The TLS error message depends on the generated fake certificate. (diff) | |
download | wireguard-openbsd-9883b791a07beb4d0cb6aad5076fe1790df94392.tar.xz wireguard-openbsd-9883b791a07beb4d0cb6aad5076fe1790df94392.zip |
Loads more static, except for cmd-*.c and window-*.c.
Diffstat (limited to 'usr.bin/tmux/names.c')
-rw-r--r-- | usr.bin/tmux/names.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tmux/names.c b/usr.bin/tmux/names.c index f9d6e88ab42..15c0ad00227 100644 --- a/usr.bin/tmux/names.c +++ b/usr.bin/tmux/names.c @@ -1,4 +1,4 @@ -/* $OpenBSD: names.c,v 1.35 2016/07/15 09:27:35 nicm Exp $ */ +/* $OpenBSD: names.c,v 1.36 2016/10/10 21:29:23 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -25,10 +25,10 @@ #include "tmux.h" -void name_time_callback(int, short, void *); -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 *); -void +static void name_time_callback(__unused int fd, __unused short events, void *arg) { struct window *w = arg; @@ -37,7 +37,7 @@ name_time_callback(__unused int fd, __unused short events, void *arg) log_debug("@%u name timer expired", w->id); } -int +static int name_time_expired(struct window *w, struct timeval *tv) { struct timeval offset; |