summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2005-06-17 13:26:50 +0000
committerTrent Lloyd <lathiat@bur.st>2005-06-17 13:26:50 +0000
commitb63340d166fc179595e4c3557f1ec48ef0d84af9 (patch)
tree64bc841c26034261296327c625b12e6f5df392b0
parent652139e9eeb4e2c50b9d1b71de01721a81a239e6 (diff)
* Move the definition of DBUS_SERVICE_AVAHI to the right spot, oops. :)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@119 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-daemon/dbus-protocol.h2
-rw-r--r--avahi-daemon/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/avahi-daemon/dbus-protocol.h b/avahi-daemon/dbus-protocol.h
index c82f7fd..8ed583f 100644
--- a/avahi-daemon/dbus-protocol.h
+++ b/avahi-daemon/dbus-protocol.h
@@ -22,6 +22,8 @@
USA.
***/
+#define DBUS_SERVICE_AVAHI "org.freedesktop.Avahi"
+
int dbus_protocol_setup ();
int dbus_protocol_shutdown ();
diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c
index 4639ba8..3ac3a63 100644
--- a/avahi-daemon/main.c
+++ b/avahi-daemon/main.c
@@ -29,8 +29,6 @@
#include "simple-protocol.h"
#include "static-services.h"
-#define DBUS_SERVICE_AVAHI "org.freedesktop.Avahi"
-
AvahiServer *avahi_server = NULL;
static void server_callback(AvahiServer *s, AvahiServerState state, gpointer userdata) {