some fixes for xml dumper / still buggy.
[libfirm] / ir / common / panic.c
index d78757c..564b996 100644 (file)
@@ -1,12 +1,22 @@
 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
-** All rights reserved.
-**
-** Authors: Martin Trapp, Christian Schaefer
-**
+* All rights reserved.
+*
+* Authors: Martin Trapp, Christian Schaefer
+*
 */
 
+/* $Id$ */
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+# include <stdlib.h>
+
 # include "panic.h"
-# include "xprintf.h"
+# include <stdio.h>
+# include <stdarg.h>
+
 
 void
 panic (const char *fmt, ...)
@@ -15,7 +25,7 @@ panic (const char *fmt, ...)
 
   fputs ("(panic) ", stderr);
   va_start (ap, fmt);
-  xvfprintf (stderr, fmt, ap);
+  vfprintf (stderr, fmt, ap);
   va_end (ap);
   putc ('\n', stderr);
   exit (1);