From a1bb251e3a55f944cb1face3464b58728a247722 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 12 Aug 2007 15:40:25 +0000 Subject: [PATCH] make gcc shut up a little bit more git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1509 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-client/check-nss-test.c | 1 + avahi-client/xdg-config-test.c | 2 ++ avahi-core/update-test.c | 1 + 3 files changed, 4 insertions(+) diff --git a/avahi-client/check-nss-test.c b/avahi-client/check-nss-test.c index 172b4fa..52aa81e 100644 --- a/avahi-client/check-nss-test.c +++ b/avahi-client/check-nss-test.c @@ -29,4 +29,5 @@ int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) { printf("NSS Support available: %s\n", avahi_nss_support() ? "yes" : "no"); + return 0; } diff --git a/avahi-client/xdg-config-test.c b/avahi-client/xdg-config-test.c index fe267f2..2e1c88f 100644 --- a/avahi-client/xdg-config-test.c +++ b/avahi-client/xdg-config-test.c @@ -35,4 +35,6 @@ int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) { if (f) fclose(f); + + return 0; } diff --git a/avahi-core/update-test.c b/avahi-core/update-test.c index bdffc0c..6b92900 100644 --- a/avahi-core/update-test.c +++ b/avahi-core/update-test.c @@ -89,4 +89,5 @@ int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) { poll_api->timeout_new(poll_api, avahi_elapse_time(&tv, 1000*10, 0), modify_txt_callback, server); avahi_simple_poll_loop(simple_poll); + return 0; } -- 2.39.5