diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/cerr.h | 5 | ||||
-rw-r--r-- | src/common/macros.h | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/common/cerr.h b/src/common/cerr.h index 5476f96..5910c74 100644 --- a/src/common/cerr.h +++ b/src/common/cerr.h @@ -17,8 +17,7 @@ void diex(const char *, ...); void die_with_off(const char *, size_t, const char *, ...); [[noreturn, gnu::nonnull, gnu::format(printf, 5, 6)]] -void -die_at_pos_with_code(const char *, struct u8view, struct u8view, size_t, - const char *, ...); +void die_at_pos_with_code(const char *, struct u8view, struct u8view, size_t, + const char *, ...); #endif /* !AHOY_COMMON_CERR_H */ diff --git a/src/common/macros.h b/src/common/macros.h index 3735af6..f53a508 100644 --- a/src/common/macros.h +++ b/src/common/macros.h @@ -11,8 +11,8 @@ #if DEBUG # include "cerr.h" -# define assume(C) \ - ((C) ? (void)0 \ +# define assume(C) \ + ((C) ? (void)0 \ : diex("%s:%d: %s(): assumption ā%sā failed", __FILE__, __LINE__, \ __func__, #C)) #else |