diff options
author | thermitegod <thermitethegod@gmail.com> | 2020-01-23 18:12:00 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-01-24 10:16:59 +0100 |
commit | 29a5ce5f65d04b046271fbe53850836c77bbee80 (patch) | |
tree | a4ebc08ab43efd4785040ca8d30134f615d9ae47 /include/sway | |
parent | 9c93e1c0ce53fb7776ff29129b53b12694d9abff (diff) |
Fix compiling with -fno-common
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index 5b34852c..2e8e4633 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -78,7 +78,7 @@ struct sway_server { list_t *dirty_nodes; }; -struct sway_server server; +extern struct sway_server server; struct sway_debug { bool noatomic; // Ignore atomic layout updates @@ -92,7 +92,7 @@ struct sway_debug { } damage; }; -struct sway_debug debug; +extern struct sway_debug debug; /* Prepares an unprivileged server_init by performing all privileged operations in advance */ bool server_privileged_prepare(struct sway_server *server); |