sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 96cebb4fe65021660e467a2cda8c9c5c4c29b699
parent a7b50f6c9cbded863475cc7b60d048636750ef6a
Author: Simon Ser <contact@emersion.fr>
Date:   Tue, 28 Feb 2023 16:27:44 +0100

config: add printf attribute to config_add_swaynag_warning()

Diffstat:
Minclude/sway/config.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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