kinds to be added to datastructures
[libfirm] / ir / common / misc.h
index ae32002..327f7cb 100644 (file)
@@ -2,6 +2,8 @@
    Copyright (C) 1995, 1996 Markus Armbruster
    All rights reserved. */
 
+/* $Id$ */
+
 #ifndef _MISC_H_
 #define _MISC_H_
 
@@ -28,7 +30,7 @@ void *alloca ();
 
 
 #include "host.h"
-#include "bool.h"
+#include <stdbool.h>
 
 /* Alignment of nodes, cf common/tag.h, a power of two.
 
@@ -65,6 +67,7 @@ extern void *xmalloc (size_t);
 extern void *xrealloc (void *, size_t);
 extern char *xstrdup (const char *);
 extern void xnomem (void);
+extern void free (void *);
 
 # define xmalloc(size) (XMALLOC_TRACE (xmalloc) ((size)))
 # define xrealloc(ptr, size) (XMALLOC_TRACE (xrealloc) ((ptr), (size)))