diff options
Diffstat (limited to 'core/dbus_wrap.h')
-rw-r--r-- | core/dbus_wrap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/dbus_wrap.h b/core/dbus_wrap.h index 09eaacf9..65f08942 100644 --- a/core/dbus_wrap.h +++ b/core/dbus_wrap.h @@ -28,8 +28,8 @@ MAGIC(dbus_message_iter_get_arg_type) \ MAGIC(dbus_message_iter_get_basic) \ MAGIC(dbus_set_error_from_message) -extern void *dbus_handle; -#define DECL_FUNC(x) extern decltype(x) *p##x; +inline void *dbus_handle{}; +#define DECL_FUNC(x) inline decltype(x) *p##x{}; DBUS_FUNCTIONS(DECL_FUNC) #undef DECL_FUNC |