diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-02-12 21:56:29 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-02-21 16:22:24 +0200 |
commit | 9cab759afb312f5c419de2ec8351717c92859248 (patch) | |
tree | 568638a19217723242d66a22626da586a40e5d90 /client/main.c | |
parent | 94556b3ad43b6e800c8915b1b617a1c6d0983436 (diff) | |
download | connman-9cab759afb312f5c419de2ec8351717c92859248.tar.gz connman-9cab759afb312f5c419de2ec8351717c92859248.tar.bz2 connman-9cab759afb312f5c419de2ec8351717c92859248.zip |
client: Make DBusConnection global
Diffstat (limited to 'client/main.c')
-rw-r--r-- | client/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/main.c b/client/main.c index d54d1488..f913534a 100644 --- a/client/main.c +++ b/client/main.c @@ -42,6 +42,7 @@ #include "monitor.h" static GMainLoop *main_loop; +DBusConnection *connection; static gboolean timeout_wait(gpointer data) { @@ -72,7 +73,6 @@ static gboolean readmonitor(GIOChannel *channel, GIOCondition condition, int main(int argc, char *argv[]) { - DBusConnection *connection; DBusError err; int events, error; GIOChannel *gchan; |