X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fiterator.c;h=bf4004cdc69cfa3ce8bcd13280bc3511a8dbd3af;hb=e1c05b012f012400bf9f3b807b11fb6eafd3b99b;hp=7803be9ac9bb620c8dc9ceccdc5a3a1492f7d5dd;hpb=f2db845e5490905feac0e2c23255fe02b8df054d;p=libfirm diff --git a/ir/adt/iterator.c b/ir/adt/iterator.c index 7803be9ac..bf4004cdc 100644 --- a/ir/adt/iterator.c +++ b/ir/adt/iterator.c @@ -1,3 +1,29 @@ +/* + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. + */ + +/** + * @file + * @brief iterators + * @author Sebastian Hack + * @version $Id$ + */ +#include "config.h" #include @@ -13,11 +39,14 @@ static void *it_pset_start(void *collection) static void *it_pset_next(void *collection, void *curr) { + (void) curr; return pset_next(collection); } static void it_pset_finish(void *collection, void *curr) { + (void) collection; + (void) curr; } static const iterator_t iterator_pset = { @@ -44,6 +73,8 @@ static void *it_list_start(void *coll) static void it_list_finish(void *coll, void *curr) { + (void) coll; + (void) curr; } static const iterator_t iterator_list = {