diff options
author | Colin Walters <walters@verbum.org> | 2016-12-07 17:00:55 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2016-12-12 15:04:03 +0000 |
commit | 821ee95e6d908179f8dfc38cf1f7e5a4a9ebf3e1 (patch) | |
tree | 667c31332287041d0a33a2bd0147fe3661be3b56 /utils.h | |
parent | 3a5c70198823e51210fde89fe897232fb1619488 (diff) | |
download | bubblewrap-821ee95e6d908179f8dfc38cf1f7e5a4a9ebf3e1.tar.gz |
utils: Add __attribute__((printf)) to die()
Clang notices it's missing in the new PR testing.
Closes: #128
Approved by: alexlarsson
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |