]> git.meshlink.io Git - catta/blobdiff - avahi-daemon/ini-file-parser-test.c
fix avahi_netlink_new to allow multiple netlinks per process
[catta] / avahi-daemon / ini-file-parser-test.c
index 5ef1ce66f1c2936e37e5ede214ba3f6256e3b043..6ca66418784cccdb54bc7be35c51ca8dc54b5986 100644 (file)
@@ -1,31 +1,33 @@
-/* $Id$ */
-
 /***
   This file is part of avahi.
+
   avahi is free software; you can redistribute it and/or modify it
   under the terms of the GNU Lesser General Public License as
   published by the Free Software Foundation; either version 2.1 of the
   License, or (at your option) any later version.
+
   avahi is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
   Public License for more details.
+
   You should have received a copy of the GNU Lesser General Public
   License along with avahi; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
   USA.
 ***/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 
 #include <avahi-common/malloc.h>
 
 #include "ini-file-parser.h"
 
-int main(int argc, char *argv[]) {
+int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) {
 
     AvahiIniFile *f;
     AvahiIniFileGroup *g;
@@ -48,7 +50,7 @@ int main(int argc, char *argv[]) {
 
             for (i = split; *i; i++)
                 printf("<%s> ", *i);
-            
+
             avahi_strfreev(split);
 
             printf("\n");