summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2015-08-05 09:54:41 -0400
committerThomas Haller <thaller@redhat.com>2015-08-05 16:03:06 +0200
commit50f9c8aa7e96cc335f3624720372a4f23eb54f1d (patch)
tree7e452554d55c672367d72747d21d43bcc56a257e
parent796ec5c038abd07a0fecd52794bb9ec4e6b3d11d (diff)
downloadNetworkManager-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.h2
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)); \