aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 8415627b..aa58da53 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -12,6 +12,7 @@
#include "../include/config.h"
#include "gesture.h"
#include "list.h"
+#include "stringop.h"
#include "swaynag.h"
#include "tree/container.h"
#include "sway/input/tablet.h"
@@ -625,7 +626,7 @@ void run_deferred_bindings(void);
/**
* Adds a warning entry to the swaynag instance used for errors.
*/
-void config_add_swaynag_warning(char *fmt, ...);
+void config_add_swaynag_warning(char *fmt, ...) _SWAY_ATTRIB_PRINTF(1, 2);
/**
* Free config struct