diff options
author | wiz <wiz@NetBSD.org> | 2002-05-26 00:12:11 +0000 |
---|---|---|
committer | wiz <wiz@NetBSD.org> | 2002-05-26 00:12:11 +0000 |
commit | 4506ee6421a65ebf465cb3e1124f0ba604dbcb20 (patch) | |
tree | 652f0004246ba71f034e73ec6027e89bfcfb1132 /hack/hack.topl.c | |
parent | 7562e03d5a67f7fca8205dbab0b115d63e08b0b7 (diff) | |
download | bsdgames-darwin-4506ee6421a65ebf465cb3e1124f0ba604dbcb20.tar.gz bsdgames-darwin-4506ee6421a65ebf465cb3e1124f0ba604dbcb20.tar.zst bsdgames-darwin-4506ee6421a65ebf465cb3e1124f0ba604dbcb20.zip |
__STDC__ is always defined on NetBSD.
Diffstat (limited to 'hack/hack.topl.c')
-rw-r--r-- | hack/hack.topl.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/hack/hack.topl.c b/hack/hack.topl.c index 53a0bea0..ff32e307 100644 --- a/hack/hack.topl.c +++ b/hack/hack.topl.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.topl.c,v 1.5 2001/03/25 20:44:03 jsm Exp $ */ +/* $NetBSD: hack.topl.c,v 1.6 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.topl.c,v 1.5 2001/03/25 20:44:03 jsm Exp $"); +__RCSID("$NetBSD: hack.topl.c,v 1.6 2002/05/26 00:12:12 wiz Exp $"); #endif /* not lint */ #include <stdlib.h> @@ -143,21 +143,11 @@ clrlin() } void -#ifdef __STDC__ pline(const char *fmt, ...) -#else -pline(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 vpline(fmt, ap); va_end(ap); } |