diff options
Diffstat (limited to 'includes/rts/Messages.h')
-rw-r--r-- | includes/rts/Messages.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/rts/Messages.h b/includes/rts/Messages.h index 2a6a84b821..206d40fb8b 100644 --- a/includes/rts/Messages.h +++ b/includes/rts/Messages.h @@ -40,7 +40,8 @@ * expected to return. */ void barf(const char *s, ...) - GNUC3_ATTRIBUTE(__noreturn__); + GNUC3_ATTRIBUTE(__noreturn__) + GNUC3_ATTRIBUTE(format(printf, 1, 2)); void vbarf(const char *s, va_list ap) GNUC3_ATTRIBUTE(__noreturn__); |