From 35fb9ebe352a141ee9fe72b1e2a160e8c198bd16 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 25 Jun 2010 02:06:54 +0200 Subject: build-sys: almost completely make the build clean, missing are howl and avahi-gobject --- avahi-compat-howl/Makefile.am | 4 ++-- avahi-compat-howl/text-test.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'avahi-compat-howl') diff --git a/avahi-compat-howl/Makefile.am b/avahi-compat-howl/Makefile.am index 0940daf..e5bc395 100644 --- a/avahi-compat-howl/Makefile.am +++ b/avahi-compat-howl/Makefile.am @@ -89,7 +89,7 @@ address_test_SOURCES = \ $(HOWLHEADERS) \ address.c \ address-test.c \ - warn.c warn.h + warn.c warn.h address_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include address_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS) ../avahi-common/libavahi-common.la @@ -97,7 +97,7 @@ text_test_SOURCES = \ $(HOWLHEADERS) \ text.c \ text-test.c \ - warn.c warn.h + warn.c warn.h text_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include text_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS) ../avahi-common/libavahi-common.la diff --git a/avahi-compat-howl/text-test.c b/avahi-compat-howl/text-test.c index e0d6f2c..f1e81e7 100644 --- a/avahi-compat-howl/text-test.c +++ b/avahi-compat-howl/text-test.c @@ -36,7 +36,7 @@ static void hexdump(const void* p, size_t size) { const uint8_t *c = p; assert(p); - printf("Dumping %u bytes from %p:\n", size, p); + printf("Dumping %zu bytes from %p:\n", size, p); while (size > 0) { unsigned i; @@ -77,7 +77,7 @@ int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) { ASSERT_SW_OKAY(sw_text_record_add_string(r, "foo=bar")); ASSERT_SW_OKAY(sw_text_record_add_string(r, "waldo=baz")); ASSERT_SW_OKAY(sw_text_record_add_key_and_string_value(r, "quux", "nimpf")); - ASSERT_SW_OKAY(sw_text_record_add_key_and_binary_value(r, "quux", "\0\0\0\0", 4)); + ASSERT_SW_OKAY(sw_text_record_add_key_and_binary_value(r, "quux", (void*) "\0\0\0\0", 4)); hexdump(sw_text_record_bytes(r), sw_text_record_len(r)); -- cgit