diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-22 19:32:57 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-06 11:50:46 -0600 |
commit | 333a1592b3f6767612ddb2a97aacfd0898a636fc (patch) | |
tree | 3c0267c7c63fdcf7437db2d5fad1459f5e39a3e9 /libobj/include | |
parent | c519a3a748ca5e5c77e8a06c82d54416d674938c (diff) |
Use static_assert to force semicolons, instead of empty structs
Diffstat (limited to 'libobj/include')
-rw-r--r-- | libobj/include/libobj/obj.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |