diff options
Diffstat (limited to 'hack/hack.pri.c')
-rw-r--r-- | hack/hack.pri.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/hack/hack.pri.c b/hack/hack.pri.c index 826b2599..ea30cd57 100644 --- a/hack/hack.pri.c +++ b/hack/hack.pri.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.pri.c,v 1.6 2001/03/25 20:44:02 jsm Exp $ */ +/* $NetBSD: hack.pri.c,v 1.7 2002/05/26 00:12:12 wiz Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. @@ -6,7 +6,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.pri.c,v 1.6 2001/03/25 20:44:02 jsm Exp $"); +__RCSID("$NetBSD: hack.pri.c,v 1.7 2002/05/26 00:12:12 wiz Exp $"); #endif /* not lint */ #include "hack.h" @@ -40,21 +40,11 @@ swallowed() boolean panicking; void -#ifdef __STDC__ panic(const char *fmt, ...) -#else -panic(va_alist) - va_dcl -#endif { va_list ap; -#ifndef __STDC__ - const char *fmt; - va_start(ap); - fmt = va_arg(ap, const char *); -#else + va_start(ap, fmt); -#endif if (panicking++) exit(1); /* avoid loops - this should never happen */ home(); |