aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-02-06 18:54:10 -0500
committerTony Crisci <tony@dubstepdish.com>2018-02-06 18:54:10 -0500
commit7d8f2c52aa96e4cbe55fe6fb00895401a85f95b6 (patch)
tree3d8d78139faf1b7cf9b60047f95f1cf83f365b05 /sway/tree/layout.c
parent515150229847c9ebdfd0cabb6f0026fca9d57a23 (diff)
make index_child static
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index 45f8c3ae..16d5cbc5 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -61,7 +61,7 @@ void init_layout(void) {
&root_container.sway_root->output_layout_change);
}
-int index_child(const swayc_t *child) {
+static int index_child(const swayc_t *child) {
// TODO handle floating
swayc_t *parent = child->parent;
int i, len;