aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-05-28 21:43:39 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-05-28 21:43:39 +0200
commit28f152d2b8ab699f8174d47d84660309c90e2527 (patch)
tree7bd2248792d53287c189e14ba5f9f8757cab2e93 /src/common
parentc80e2d9d22325514382ddf0e95abe6268bd413a7 (diff)
Format code
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cerr.h5
-rw-r--r--src/common/macros.h4
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