summaryrefslogtreecommitdiff
path: root/libmisc/tests/test_obj.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-06-10 17:26:01 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-06-10 17:26:01 -0600
commit7146166ce00e1f6ad3a35d7e1e4bf778b74272e1 (patch)
tree61dddfb0735fe841a0e1c56ea331a360a2d2dad0 /libmisc/tests/test_obj.c
parentcd5768ef4bc36b33699539d9656f455bafb0de0c (diff)
parent6eafa9fd3a49289d34007a018b6d1fba8e4b7e24 (diff)
Merge branch 'lukeshu/obj-meth'
Diffstat (limited to 'libmisc/tests/test_obj.c')
-rw-r--r--libmisc/tests/test_obj.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmisc/tests/test_obj.c b/libmisc/tests/test_obj.c
index 687ad4e..c3c6786 100644
--- a/libmisc/tests/test_obj.c
+++ b/libmisc/tests/test_obj.c
@@ -28,19 +28,19 @@ 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 int myclass_frob(struct myclass *self) {
+int myclass_frob(struct myclass *self) {
test_assert(self);
return self->a;
}
-static int myclass_frob1(struct myclass *self, int arg) {
+int myclass_frob1(struct myclass *self, int arg) {
test_assert(self);
return arg;
}
-static void myclass_frob0(struct myclass *self) {
+void myclass_frob0(struct myclass *self) {
test_assert(self);
}