diff options
author | Samuel Holland <samuel@sholland.org> | 2018-01-14 18:19:06 -0600 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2018-01-14 18:19:06 -0600 |
commit | 5d9f7e14bf5c68736fd4395caac45416796fed3d (patch) | |
tree | e79baad53d02cc30775b2c3a02680fab768aba87 /libgcompat | |
parent | c545f7393f0a10c182c2c085a36d7099b9c07a7f (diff) | |
download | gcompat-5d9f7e14bf5c68736fd4395caac45416796fed3d.tar.gz gcompat-5d9f7e14bf5c68736fd4395caac45416796fed3d.tar.bz2 gcompat-5d9f7e14bf5c68736fd4395caac45416796fed3d.tar.xz gcompat-5d9f7e14bf5c68736fd4395caac45416796fed3d.zip |
backtrace: Add semicolons after call to function-like macros
This duplicates the semicolon at the end of the macro, but it prevents
clang-format from getting confused. This is only temporary until the
macro is updated in a later commit.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'libgcompat')
-rw-r--r-- | libgcompat/backtrace.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libgcompat/backtrace.c b/libgcompat/backtrace.c index 2ceb334..4ef0f88 100644 --- a/libgcompat/backtrace.c +++ b/libgcompat/backtrace.c @@ -9,16 +9,16 @@ int backtrace(void **addr_buf, int size) { void *curr; - _frame_level(addr_buf, curr, 0, size) - _frame_level(addr_buf, curr, 1, size) - _frame_level(addr_buf, curr, 2, size) - _frame_level(addr_buf, curr, 3, size) - _frame_level(addr_buf, curr, 4, size) - _frame_level(addr_buf, curr, 5, size) - _frame_level(addr_buf, curr, 6, size) - _frame_level(addr_buf, curr, 7, size) - _frame_level(addr_buf, curr, 8, size) - _frame_level(addr_buf, curr, 9, size) + _frame_level(addr_buf, curr, 0, size); + _frame_level(addr_buf, curr, 1, size); + _frame_level(addr_buf, curr, 2, size); + _frame_level(addr_buf, curr, 3, size); + _frame_level(addr_buf, curr, 4, size); + _frame_level(addr_buf, curr, 5, size); + _frame_level(addr_buf, curr, 6, size); + _frame_level(addr_buf, curr, 7, size); + _frame_level(addr_buf, curr, 8, size); + _frame_level(addr_buf, curr, 9, size); return 9; } |