summaryrefslogtreecommitdiffstats
path: root/avahi-core/conformance-test.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-02 14:08:18 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-02 14:08:18 +0000
commit66142b071a2497d7e3cf58d7bf5159bb1c970d84 (patch)
tree1e0125be0373b7201ec71275f4bd8e06aecc94a3 /avahi-core/conformance-test.c
parent98d4644e8f9445fa4cf7395b05a9f860b8f3cb9c (diff)
* allow caller to specifiy additional CFLAGS arguments to bootstrap.sh
* fix some warnings (and some real errors) found when compiling avahi with excessive GCC warnings git-svn-id: file:///home/lennart/svn/public/avahi/trunk@209 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/conformance-test.c')
-rw-r--r--avahi-core/conformance-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/avahi-core/conformance-test.c b/avahi-core/conformance-test.c
index f7eba12..f8e0c93 100644
--- a/avahi-core/conformance-test.c
+++ b/avahi-core/conformance-test.c
@@ -28,6 +28,7 @@
#include <arpa/inet.h>
#include <stdlib.h>
#include <unistd.h>
+#include <stdio.h>
#include "core.h"
#include "util.h"
@@ -50,7 +51,7 @@ static gboolean dump_timeout(gpointer data) {
static void entry_group_callback(AvahiServer *s, AvahiEntryGroup *g, AvahiEntryGroupState state, gpointer userdata);
-static void create_service(gchar *t) {
+static void create_service(const gchar *t) {
gchar *n;
g_assert(t || name);