summaryrefslogtreecommitdiff
path: root/libobj/tests/test_obj.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-05 00:45:53 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-05 21:34:27 -0600
commit76eb7f598349aeec09c2d70a7cf87fced73fd8a8 (patch)
treeb596b561d942340875cdb8dd4314b3dde0b31e2a /libobj/tests/test_obj.c
parent240615bbbcac3133f66298f9427366d4f2c10e1d (diff)
libobj, libmisc/private.h: Allow+force semicolons
Diffstat (limited to 'libobj/tests/test_obj.c')
-rw-r--r--libobj/tests/test_obj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libobj/tests/test_obj.c b/libobj/tests/test_obj.c
index 89fff68..d6861dc 100644
--- a/libobj/tests/test_obj.c
+++ b/libobj/tests/test_obj.c
@@ -17,18 +17,18 @@
LO_FUNC(int, frob1, int) \
/** Function that returns nothing. */ \
LO_FUNC(void, frob0)
-LO_INTERFACE(frobber)
+LO_INTERFACE(frobber);
/* `struct myclass` header ****************************************************/
struct myclass {
int a;
};
-LO_IMPLEMENTATION_H(frobber, struct myclass, myclass)
+LO_IMPLEMENTATION_H(frobber, struct myclass, myclass);
/* `struct myclass` implementation ********************************************/
-LO_IMPLEMENTATION_C(frobber, struct myclass, myclass, static)
+LO_IMPLEMENTATION_C(frobber, struct myclass, myclass, static);
static int myclass_frob(struct myclass *self) {
test_assert(self);