Loads more static, except for cmd-*.c and window-*.c.

This commit is contained in:
nicm
2016-10-10 21:29:23 +00:00
parent 66b5477cc1
commit c426e485e5
25 changed files with 301 additions and 295 deletions

View File

@ -27,11 +27,11 @@
* 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 {
const char *name;
@ -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;