mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 16:30:23 +01:00
utils: use (void) for empty arguments
In C, `()` doesn't do what you want by default.
Fixes: 2cf274c03e
This commit is contained in:
parent
796ec5c038
commit
50f9c8aa7e
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ _singleton_instance_weak_ref_cb (gpointer data, \
|
|||
singleton_instance = NULL; \
|
||||
} \
|
||||
static inline void \
|
||||
nm_singleton_instance_register () \
|
||||
nm_singleton_instance_register (void) \
|
||||
{ \
|
||||
g_object_weak_ref (G_OBJECT (singleton_instance), _singleton_instance_weak_ref_cb, NULL); \
|
||||
_nm_singleton_instance_register_destruction (G_OBJECT (singleton_instance)); \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue