summaryrefslogtreecommitdiffstats
path: root/hack/hack.main.c
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2002-05-26 00:12:11 +0000
committerwiz <wiz@NetBSD.org>2002-05-26 00:12:11 +0000
commit4506ee6421a65ebf465cb3e1124f0ba604dbcb20 (patch)
tree652f0004246ba71f034e73ec6027e89bfcfb1132 /hack/hack.main.c
parent7562e03d5a67f7fca8205dbab0b115d63e08b0b7 (diff)
downloadbsdgames-darwin-4506ee6421a65ebf465cb3e1124f0ba604dbcb20.tar.gz
bsdgames-darwin-4506ee6421a65ebf465cb3e1124f0ba604dbcb20.tar.zst
bsdgames-darwin-4506ee6421a65ebf465cb3e1124f0ba604dbcb20.zip
__STDC__ is always defined on NetBSD.
Diffstat (limited to 'hack/hack.main.c')
-rw-r--r--hack/hack.main.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/hack/hack.main.c b/hack/hack.main.c
index 6c0e7491..37696818 100644
--- a/hack/hack.main.c
+++ b/hack/hack.main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.main.c,v 1.6 2001/03/25 20:44:01 jsm Exp $ */
+/* $NetBSD: hack.main.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.main.c,v 1.6 2001/03/25 20:44:01 jsm Exp $");
+__RCSID("$NetBSD: hack.main.c,v 1.7 2002/05/26 00:12:12 wiz Exp $");
#endif /* not lint */
#include <signal.h>
@@ -466,22 +466,11 @@ askname()
/* VARARGS1 */
void
-#ifdef __STDC__
impossible(const char *s, ...)
-#else
-impossible(va_alist)
- va_dcl
-#endif
{
va_list ap;
-#ifndef __STDC__
- const char *s;
- va_start(ap);
- s = va_arg(ap, const char *);
-#else
va_start(ap, s);
-#endif
vpline(s, ap);
va_end(ap);
pline("Program in disorder - perhaps you'd better Quit.");