X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fident%2Fident.c;h=efd3a0a0742700ec9124dfff7d4f1563e5741fc3;hb=6e998f91ca26b38b9022cfe5f3316bd3074bf39f;hp=49abd69d8910d1e77743e0253c7ce6d1661a8f1b;hpb=6283bc10025ad08777566d67739383953a424ef2;p=libfirm diff --git a/ir/ident/ident.c b/ir/ident/ident.c index 49abd69d8..efd3a0a07 100644 --- a/ir/ident/ident.c +++ b/ir/ident/ident.c @@ -1,15 +1,28 @@ /* - * Project: libFIRM - * File name: ir/common/ident.c - * Purpose: Hash table to store names. - * Author: Goetz Lindenmaier - * Modified by: - * Created: - * CVS-ID: $Id$ - * Copyright: (c) 1999-2003 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + * Copyright (C) 1995-2007 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 Hash table to store names. + * @author Goetz Lindenmaier + * @version $Id$ + */ #ifdef HAVE_CONFIG_H # include "config.h" #endif @@ -20,22 +33,16 @@ #include #include -#ifdef HAVE_ALLOCA_H -#include -#endif -#ifdef HAVE_MALLOC_H -#include -#endif - #ifdef FIRM_ENABLE_WCHAR #include #endif #include "ident_t.h" #include "set.h" +#include "xmalloc.h" /* for debugging only, not the real implementation */ -struct ident { +struct _ident { char reserved[sizeof(unsigned) + sizeof(size_t)]; char data[1]; };