X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Frlist.c;h=17dcb24a4507bc341c49915c792a456e15770065;hb=6719a40e3d5c2939d59ac76314d2e2ea6ea67764;hp=f24ab039644031b4e2893d1484ddc57742da6e45;hpb=1b8b3c22a69f5d0cf8f6ff6bcb8a4cc770faa113;p=catta diff --git a/avahi-common/rlist.c b/avahi-common/rlist.c index f24ab03..17dcb24 100644 --- a/avahi-common/rlist.c +++ b/avahi-common/rlist.c @@ -1,18 +1,16 @@ -/* $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 @@ -35,7 +33,7 @@ AvahiRList* avahi_rlist_prepend(AvahiRList *r, void *data) { return NULL; n->data = data; - + AVAHI_LLIST_PREPEND(AvahiRList, rlist, r, n); return r; } @@ -56,7 +54,7 @@ AvahiRList* avahi_rlist_remove(AvahiRList *r, void *data) { AvahiRList* avahi_rlist_remove_by_link(AvahiRList *r, AvahiRList *n) { assert(n); - + AVAHI_LLIST_REMOVE(AvahiRList, rlist, r, n); avahi_free(n);