aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-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;