removed gloval intraprocedural_view variable and replaced by get_*() set_*() functions
[libfirm] / ir / common / panic.c
index 56b76ef..b73e234 100644 (file)
@@ -1,11 +1,15 @@
-/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
-* All rights reserved.
-*
-* Authors: Martin Trapp, Christian Schaefer
-*
-*/
+/*
+ * Project:     libFIRM
+ * File name:   ir/common/panic.c
+ * Purpose:
+ * Author:      Martin Trapp, Christian Schaefer
+ * Modified by:
+ * Created:
+ * CVS-ID:      $Id$
+ * Copyright:   (c) 1998-2003 Universität Karlsruhe
+ * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ */
 
-/* $Id$ */
 
 #ifdef HAVE_CONFIG_H
 # include <config.h>
@@ -14,7 +18,9 @@
 # include <stdlib.h>
 
 # include "panic.h"
-# include "xprintf.h"
+# include <stdio.h>
+# include <stdarg.h>
+
 
 void
 panic (const char *fmt, ...)
@@ -23,7 +29,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);