From 5ea13e7ea9ca19130d5114a745d337b052cf2199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 8 Sep 2020 16:29:25 +0200 Subject: Add format attribute --- InfoScreen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'InfoScreen.h') diff --git a/InfoScreen.h b/InfoScreen.h index 93665c1d..a5a5abf6 100644 --- a/InfoScreen.h +++ b/InfoScreen.h @@ -40,6 +40,7 @@ InfoScreen* InfoScreen_init(InfoScreen* this, Process* process, FunctionBar* bar InfoScreen* InfoScreen_done(InfoScreen* this); +ATTR_FORMAT(printf, 2, 3) void InfoScreen_drawTitled(InfoScreen* this, const char* fmt, ...); void InfoScreen_addLine(InfoScreen* this, const char* line); -- cgit v1.2.3