diff options
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/container.c b/sway/container.c index 9b1eac60..d43ee35e 100644 --- a/sway/container.c +++ b/sway/container.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #define _XOPEN_SOURCE 500 | ||
1 | #include <ctype.h> | 2 | #include <ctype.h> |
2 | #include <stdlib.h> | 3 | #include <stdlib.h> |
3 | #include <stdbool.h> | 4 | #include <stdbool.h> |
@@ -18,7 +19,6 @@ | |||
18 | #define ASSERT_NONNULL(PTR) \ | 19 | #define ASSERT_NONNULL(PTR) \ |
19 | sway_assert (PTR, #PTR "must be non-null") | 20 | sway_assert (PTR, #PTR "must be non-null") |
20 | 21 | ||
21 | |||
22 | static swayc_t *new_swayc(enum swayc_types type) { | 22 | static swayc_t *new_swayc(enum swayc_types type) { |
23 | // next id starts at 1 because 0 is assigned to root_container in layout.c | 23 | // next id starts at 1 because 0 is assigned to root_container in layout.c |
24 | static size_t next_id = 1; | 24 | static size_t next_id = 1; |