used xrealloc instead of realloc
[libfirm] / ir / ir / irreflect.c
index feb5049..8327812 100644 (file)
@@ -10,6 +10,8 @@
 # include "config.h"
 #endif
 
+#include <assert.h>
+
 #ifdef HAVE_STDLIB_H
 # include <stdlib.h>
 #endif
@@ -28,8 +30,6 @@
 #define obstack_grow_str(obst,s) obstack_grow((obst), (s), strlen((s)))
 #define obstack_grow_str_const(obst,s) obstack_grow((obst), (s), sizeof((s)))
 
-extern int obstack_printf(struct obstack *obst, const char *fmt, ...);
-
 /**
  * Get the number of bits set in a word.
  */