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:
Colin Walters
2016-12-07 17:00:55 -05:00
committed by Atomic Bot
parent 3a5c701988
commit 821ee95e6d

View File

@@ -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);