X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fdebug%2Fseqnumbers.c;h=ff790cd0d4149163e849acd51904590afd1cdd9b;hb=f17f78673a3fd8b4d1f53478d5a8146881abbc03;hp=bdeb0250e5748d9c0b26dd342c901bb2a670c6ac;hpb=51381c73a9ad796f4d12faf6c7ec6f60cbc9f9b6;p=libfirm diff --git a/ir/debug/seqnumbers.c b/ir/debug/seqnumbers.c index bdeb0250e..ff790cd0d 100644 --- a/ir/debug/seqnumbers.c +++ b/ir/debug/seqnumbers.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -23,16 +23,14 @@ * @author Michael Beck * @date 2005 * @version $Id$ - * @summary + * @brief * Sequence numbers for Firm. * * A sequence number is an unique number representing a filename * and a line number. The number 0 represents empty information. * This module is an optional "snap-in" for the Firm debug info. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include "set.h" #include "hashptr.h" @@ -59,6 +57,7 @@ static int seqno_cmp(const void *elt, const void *key, size_t size) { seqno_t e1 = (seqno_t)elt; seqno_t e2 = (seqno_t)key; + (void) size; return (e1->filename != e2->filename) | (e1->lineno - e2->lineno); }