mirror of
https://github.com/swaywm/sway.git
synced 2024-11-16 05:03:17 +00:00
config: add printf attribute to config_add_swaynag_warning()
This commit is contained in:
parent
a7b50f6c9c
commit
96cebb4fe6
|
@ -12,6 +12,7 @@
|
||||||
#include "../include/config.h"
|
#include "../include/config.h"
|
||||||
#include "gesture.h"
|
#include "gesture.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
|
#include "stringop.h"
|
||||||
#include "swaynag.h"
|
#include "swaynag.h"
|
||||||
#include "tree/container.h"
|
#include "tree/container.h"
|
||||||
#include "sway/input/tablet.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.
|
* 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
|
* Free config struct
|
||||||
|
|
Loading…
Reference in a new issue