utils: Add __attribute__((printf)) to die()
Clang notices it's missing in the new PR testing. Closes: #128 Approved by: alexlarsson
This commit is contained in:

committed by
Atomic Bot

parent
3a5c701988
commit
821ee95e6d
2
utils.h
2
utils.h
@@ -50,7 +50,7 @@ typedef int bool;
|
||||
void die_with_error (const char *format,
|
||||
...) __attribute__((__noreturn__)) __attribute__((format (printf, 1, 2)));
|
||||
void die (const char *format,
|
||||
...) __attribute__((__noreturn__));
|
||||
...) __attribute__((__noreturn__)) __attribute__((format (printf, 1, 2)));
|
||||
void die_oom (void) __attribute__((__noreturn__));
|
||||
void die_unless_label_valid (const char *label);
|
||||
|
||||
|
Reference in New Issue
Block a user