aboutsummaryrefslogtreecommitdiff
path: root/layout-set.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-10-12 09:45:49 +0100
committerThomas Adam <thomas@xteddy.org>2016-10-12 09:45:49 +0100
commitb9dc855016cf79c8bb8469c272dbc6bca24deadc (patch)
treea2049bea7b17ededbd12b77110d47353ed832e46 /layout-set.c
parent27126f87976c63161fcae2ab1eb9c6df726a84ff (diff)
parent5c49e1d0c1afaf98512b2ffd1f31d91fecff9851 (diff)
downloadrtmux-b9dc855016cf79c8bb8469c272dbc6bca24deadc.tar.gz
rtmux-b9dc855016cf79c8bb8469c272dbc6bca24deadc.tar.bz2
rtmux-b9dc855016cf79c8bb8469c272dbc6bca24deadc.zip
Merge branch 'obsd-master'
Conflicts: format.c osdep-openbsd.c
Diffstat (limited to 'layout-set.c')
-rw-r--r--layout-set.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/layout-set.c b/layout-set.c
index 4d2b8ca7..db621f61 100644
--- a/layout-set.c
+++ b/layout-set.c
@@ -27,13 +27,13 @@
* one-off and generate a layout tree.
*/
-void layout_set_even_h(struct window *);
-void layout_set_even_v(struct window *);
-void layout_set_main_h(struct window *);
-void layout_set_main_v(struct window *);
-void layout_set_tiled(struct window *);
+static void layout_set_even_h(struct window *);
+static void layout_set_even_v(struct window *);
+static void layout_set_main_h(struct window *);
+static void layout_set_main_v(struct window *);
+static void layout_set_tiled(struct window *);
-const struct {
+static const struct {
const char *name;
void (*arrange)(struct window *);
} layout_sets[] = {
@@ -114,7 +114,7 @@ layout_set_previous(struct window *w)
return (layout);
}
-void
+static void
layout_set_even_h(struct window *w)
{
struct window_pane *wp;
@@ -168,7 +168,7 @@ layout_set_even_h(struct window *w)
server_redraw_window(w);
}
-void
+static void
layout_set_even_v(struct window *w)
{
struct window_pane *wp;
@@ -222,7 +222,7 @@ layout_set_even_v(struct window *w)
server_redraw_window(w);
}
-void
+static void
layout_set_main_h(struct window *w)
{
struct window_pane *wp;
@@ -345,7 +345,7 @@ layout_set_main_h(struct window *w)
server_redraw_window(w);
}
-void
+static void
layout_set_main_v(struct window *w)
{
struct window_pane *wp;