diff options
author | Colin Walters <walters@verbum.org> | 2015-08-05 09:54:41 -0400 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-08-05 16:03:06 +0200 |
commit | 50f9c8aa7e96cc335f3624720372a4f23eb54f1d (patch) | |
tree | 7e452554d55c672367d72747d21d43bcc56a257e | |
parent | 796ec5c038abd07a0fecd52794bb9ec4e6b3d11d (diff) | |
download | NetworkManager-50f9c8aa7e96cc335f3624720372a4f23eb54f1d.tar.gz |
utils: use (void) for empty arguments
In C, `()` doesn't do what you want by default.
Fixes: 2cf274c03eb93877f835113d8429b938495b9091
-rw-r--r-- | src/NetworkManagerUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NetworkManagerUtils.h b/src/NetworkManagerUtils.h index 6a8121718e..8eb4edf28c 100644 --- a/src/NetworkManagerUtils.h +++ b/src/NetworkManagerUtils.h @@ -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)); \ |