summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-10-29 10:44:31 +0100
committerThomas Haller <thaller@redhat.com>2014-10-29 12:30:11 +0100
commitb77567b2257c6ff3a78d508b332a330671119b65 (patch)
treee1df91b60884080c90abb8681877e8a1b707e981 /include
parent5aefbe56584f5ca4464275dba81d07a51a205297 (diff)
downloadNetworkManager-b77567b2257c6ff3a78d508b332a330671119b65.tar.gz
build: fix -Wstrict-prototypes warnings
We disabled -Wstrict-prototypes in commit db9b1df0e47996ff8aaea468a11e1e97f64ee126 . Fix compiler warnings. Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/nm-test-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nm-test-utils.h b/include/nm-test-utils.h
index dcac8a697b..11ffd33033 100644
--- a/include/nm-test-utils.h
+++ b/include/nm-test-utils.h
@@ -365,14 +365,14 @@ nmtst_is_debug (void)
#endif
inline static GRand *
-nmtst_get_rand0 ()
+nmtst_get_rand0 (void)
{
g_assert (nmtst_initialized ());
return __nmtst_internal.rand0;
}
inline static GRand *
-nmtst_get_rand ()
+nmtst_get_rand (void)
{
g_assert (nmtst_initialized ());