]> git.meshlink.io Git - catta/blobdiff - libavahi-core/prioq-test.c
autotoolize
[catta] / libavahi-core / prioq-test.c
index 53a8383c0387e3750251a3e9b0975b463a93fdf6..160458db648666b27e3d1d0b50a5ec702f50356f 100644 (file)
@@ -1,3 +1,24 @@
+/* $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.
+***/
+
 #include <time.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -53,7 +74,7 @@ static void rec(AvahiPrioQueueNode *n) {
 
 int main(int argc, char *argv[]) {
     AvahiPrioQueue *q, *q2;
-    gint i, prev;
+    gint i;
 
     q = avahi_prio_queue_new(compare_int);
     q2 = avahi_prio_queue_new(compare_ptr);