fix
[libfirm] / ir / adt / array.h
index 20b44ad..7a72b9e 100644 (file)
@@ -1,26 +1,35 @@
 /*
- * Project:     libFIRM
- * File name:   ir/adt/array.h
- * Purpose:     Declarations for Array.
- * Author:      Markus Armbruster
- * Modified by:
- * Created:     1999 by getting from fiasco
- * CVS-ID:      $Id$
- * Copyright:   (c) 1995, 1996 Markus Armbruster
- * 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 array.h   Dynamic and flexible arrays for C.
+ * @file
+ * @brief     Dynamic and flexible arrays for C.
+ * @author    Markus Armbruster
+ * @version   $Id$
  */
-
-#ifndef _ARRAY_H
-#define _ARRAY_H
+#ifndef FIRM_ADT_ARRAY_H
+#define FIRM_ADT_ARRAY_H
 
 #include <assert.h>
 #include <stddef.h>
-#include <obstack.h>
 
+#include "obst.h"
 #include "fourcc.h"
 #include "align.h"
 #include "xmalloc.h"
@@ -45,7 +54,7 @@
   ((type *)_new_arr_f ((nelts), sizeof(type) * (nelts)))
 
 /**
- * Creates a new flxible array with the same number of elements as a
+ * Creates a new flexible array with the same number of elements as a
  * given one.
  *
  * @param type     The element type of the new array.
@@ -337,4 +346,4 @@ void *_arr_setlen (void *, int, size_t);
 #define _ARR_ELTS_OFFS offsetof (_arr_descr, v.elts)
 #define _ARR_DESCR(elts) ((_arr_descr *)(void *)((char *)(elts) - _ARR_ELTS_OFFS))
 
-#endif
+#endif /* FIRM_ADT_ARRAY_H */