summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-01-14 18:19:06 -0600
committerSamuel Holland <samuel@sholland.org>2018-01-14 18:19:06 -0600
commit5d9f7e14bf5c68736fd4395caac45416796fed3d (patch)
treee79baad53d02cc30775b2c3a02680fab768aba87 /libgcompat
parentc545f7393f0a10c182c2c085a36d7099b9c07a7f (diff)
downloadgcompat-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.c20
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;
}