[Xfce4-commits] <xfconf:signal-bindings> Fix compiler warnings in the tests.
Nick Schermer
nick at xfce.org
Sun Sep 13 18:30:02 CEST 2009
Updating branch refs/heads/signal-bindings
to 47510215c6b857c1d0be526f14402a398ae5807a (commit)
from 0fe179d8fa21ceea20d548b7546dc9b0be943edb (commit)
commit 47510215c6b857c1d0be526f14402a398ae5807a
Author: Nick Schermer <nick at xfce.org>
Date: Sun Sep 13 09:51:59 2009 +0200
Fix compiler warnings in the tests.
Using old style function defenition and gcc complained
inlining was not a good idea.
tests/tests-common.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/tests-common.h b/tests/tests-common.h
index fc221d1..6ab0710 100644
--- a/tests/tests-common.h
+++ b/tests/tests-common.h
@@ -73,10 +73,10 @@ const gchar *test_bool_property = "/test/booltest/bool";
const gboolean test_bool = TRUE;
const gchar *test_array_property = "/test/arrayprop";
-static inline void xfconf_tests_end();
+static void xfconf_tests_end(void);
-static inline gboolean
-xfconf_tests_start()
+static gboolean
+xfconf_tests_start(void)
{
gchar *argv[2] = { XFCONFD, NULL };
DBusConnection *dbus_conn;
@@ -131,8 +131,8 @@ xfconf_tests_start()
return TRUE;
}
-static inline void
-xfconf_tests_end()
+static void
+xfconf_tests_end(void)
{
xfconf_shutdown();
More information about the Xfce4-commits
mailing list