Enable more printf format attributes

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2022-04-14 08:32:18 +02:00
1 parent a0820c7f20
commit 6a21ac55ad
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ extern int heading; /* initctl -t */
extern int verbose; /* initctl -v */
extern int plain; /* initctl -p */
extern void print_header(const char *fmt, ...);
extern void print_header(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
#endif /* FINIT_INITCTL_H_ */