From 333a1592b3f6767612ddb2a97aacfd0898a636fc Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 22 Apr 2025 19:32:57 -0600 Subject: Use static_assert to force semicolons, instead of empty structs --- libobj/include/libobj/obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libobj/include') diff --git a/libobj/include/libobj/obj.h b/libobj/include/libobj/obj.h index 7a9041e..81058b6 100644 --- a/libobj/include/libobj/obj.h +++ b/libobj/include/libobj/obj.h @@ -115,7 +115,7 @@ .vtable = &_lo_##_ARG_impl_name##_##_ARG_iface_name##_vtable, \ }; \ } \ - extern int LM_CAT2_(_LO_FORCE_SEMICOLON_, __COUNTER__) + LM_FORCE_SEMICOLON /** * Use `LO_IMPLEMENTATION_C(iface_name, impl_type, impl_name[, static])` in a .c -- cgit v1.2.3-2-g168b