added a callback function to check whether a given entity is a allocation call
[libfirm] / ir / adt / util.h
index c8acb56..6730c44 100644 (file)
@@ -1,16 +1,32 @@
+/*
+ * 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   util.h
+ * @file
  * @date   31.05.2005
  * @author Sebastian Hack
- *
- * Some utility macros.
- *
- * Copyright (C) 2005 Universitaet Karlsruhe
- * Released under the GPL
+ * @brief  Some utility macros.
  */
+#ifndef FIRM_ADT_UTIL_H
+#define FIRM_ADT_UTIL_H
 
-#ifndef _UTIL_H
-#define _UTIL_H
+#include "firm_config.h"
 
 /**
  * Get the offset of a member of a struct.
@@ -67,4 +83,4 @@
 #define UNLIKELY(x) x
 #endif
 
-#endif /* _UTIL_H */
+#endif