UnGNUify the codebase

This commit is contained in:
Drew DeVault 2017-03-10 23:41:24 -05:00
parent 74d4f1bec9
commit 9aed9d9359
84 changed files with 123 additions and 33 deletions

View file

@ -1,3 +1,4 @@
#define _XOPEN_SOURCE 500
#include <ctype.h>
#include <stdlib.h>
#include <stdbool.h>
@ -18,7 +19,6 @@
#define ASSERT_NONNULL(PTR) \
sway_assert (PTR, #PTR "must be non-null")
static swayc_t *new_swayc(enum swayc_types type) {
// next id starts at 1 because 0 is assigned to root_container in layout.c
static size_t next_id = 1;