X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fcommon%2Fpanic.c;h=b73e2346fb674d635955f5262827a0d14ac5708c;hb=a89063290e573d23f0ef4d827a68b319ae74e594;hp=56b76ef3a31579fc4c6c7838a6670b854ab2781f;hpb=de3ad6fcd245b88094f28f89284f2d62d4d50d3c;p=libfirm diff --git a/ir/common/panic.c b/ir/common/panic.c index 56b76ef3a..b73e2346f 100644 --- a/ir/common/panic.c +++ b/ir/common/panic.c @@ -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 @@ -14,7 +18,9 @@ # include # include "panic.h" -# include "xprintf.h" +# include +# include + 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);