From 4506ee6421a65ebf465cb3e1124f0ba604dbcb20 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 26 May 2002 00:12:11 +0000 Subject: __STDC__ is always defined on NetBSD. --- hack/hack.topl.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'hack/hack.topl.c') 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 #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 @@ -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); } -- cgit v1.2.3