summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server-fn.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2016-10-11 13:21:59 +0000
committernicm <nicm@openbsd.org>2016-10-11 13:21:59 +0000
commitced217699ffe77cdcd68550d0cd5144e02885fbd (patch)
tree4e8db157c9069258d6ed1270a2ee874d6502ef41 /usr.bin/tmux/server-fn.c
parentmissing .Fl macro, from Jan Stary (diff)
downloadwireguard-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/server-fn.c')
-rw-r--r--usr.bin/tmux/server-fn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/server-fn.c b/usr.bin/tmux/server-fn.c
index 60d088dc37e..0167da802ff 100644
--- a/usr.bin/tmux/server-fn.c
+++ b/usr.bin/tmux/server-fn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-fn.c,v 1.100 2016/10/10 21:29:23 nicm Exp $ */
+/* $OpenBSD: server-fn.c,v 1.101 2016/10/11 13:21:59 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -30,6 +30,7 @@
static struct session *server_next_session(struct session *);
static void server_callback_identify(int, short, void *);
+static void server_destroy_session_group(struct session *);
void
server_fill_environ(struct session *s, struct environ *env)
@@ -339,7 +340,7 @@ server_destroy_pane(struct window_pane *wp, int hooks)
server_redraw_window(w);
}
-void
+static void
server_destroy_session_group(struct session *s)
{
struct session_group *sg;