From 8df41a6ba28e8dc918c4763634abdfbed35810a2 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 17 Sep 2022 15:57:52 -0400 Subject: [PATCH] Revert "NEED_VARARGS followup" This reverts commit 4d34e153e06b9d38588f0e856f5728ff8285df00. --- outdated/sys/atari/tos.c | 3 --- outdated/sys/os2/os2.c | 3 --- outdated/sys/wince/celib.c | 3 --- sys/msdos/msdos.c | 3 --- sys/share/pcsys.c | 3 --- sys/share/pctty.c | 2 -- sys/share/unixtty.c | 3 --- sys/vms/vmstty.c | 3 --- sys/windows/consoletty.c | 3 --- sys/windows/windsys.c | 3 --- util/panic.c | 3 --- 11 files changed, 32 deletions(-) diff --git a/outdated/sys/atari/tos.c b/outdated/sys/atari/tos.c index f543419a3..3c32891ca 100644 --- a/outdated/sys/atari/tos.c +++ b/outdated/sys/atari/tos.c @@ -5,10 +5,7 @@ * TOS system functions. */ -#ifndef NEED_VARARGS #define NEED_VARARGS -#endif - #include "hack.h" #ifdef TTY_GRAPHICS diff --git a/outdated/sys/os2/os2.c b/outdated/sys/os2/os2.c index 2f3e1b924..10a3a38db 100644 --- a/outdated/sys/os2/os2.c +++ b/outdated/sys/os2/os2.c @@ -6,10 +6,7 @@ * OS/2 system functions. */ -#ifndef NEED_VARARGS #define NEED_VARARGS -#endif - #include "hack.h" #ifdef OS2 diff --git a/outdated/sys/wince/celib.c b/outdated/sys/wince/celib.c index f20d5d628..713f45de6 100644 --- a/outdated/sys/wince/celib.c +++ b/outdated/sys/wince/celib.c @@ -2,10 +2,7 @@ /* Copyright (C) 2001 by Alex Kompel */ /* NetHack may be freely redistributed. See license for details. */ -#ifndef NEED_VARARGS #define NEED_VARARGS -#endif - #include "hack.h" #include // #include "wceconf.h" diff --git a/sys/msdos/msdos.c b/sys/msdos/msdos.c index 89bd4fb5d..eff5afb45 100644 --- a/sys/msdos/msdos.c +++ b/sys/msdos/msdos.c @@ -8,10 +8,7 @@ * contributed much to the cause. */ -#ifndef NEED_VARARGS #define NEED_VARARGS -#endif - #include "hack.h" #ifdef MSDOS diff --git a/sys/share/pcsys.c b/sys/share/pcsys.c index 31d8e5dd9..c09887305 100644 --- a/sys/share/pcsys.c +++ b/sys/share/pcsys.c @@ -6,10 +6,7 @@ * System related functions for MSDOS, OS/2, TOS */ -#ifndef NEED_VARARGS #define NEED_VARARGS -#endif - #include "hack.h" #include "wintty.h" diff --git a/sys/share/pctty.c b/sys/share/pctty.c index 54cf3435d..6b718d66a 100644 --- a/sys/share/pctty.c +++ b/sys/share/pctty.c @@ -5,9 +5,7 @@ /* tty.c - (PC) version */ -#ifndef NEED_VARARGS #define NEED_VARARGS /* Uses ... */ /* comment line for pre-compiled headers \ -#endif */ #include "hack.h" #include "wintty.h" diff --git a/sys/share/unixtty.c b/sys/share/unixtty.c index 5832b65fb..4e932b748 100644 --- a/sys/share/unixtty.c +++ b/sys/share/unixtty.c @@ -9,10 +9,7 @@ * arnold@ucsf-cgl, wcs@bo95b, cbcephus!pds and others. */ -#ifndef NEED_VARARGS #define NEED_VARARGS -#endif - #include "hack.h" /* diff --git a/sys/vms/vmstty.c b/sys/vms/vmstty.c index c9a904573..1ddf5d7b5 100644 --- a/sys/vms/vmstty.c +++ b/sys/vms/vmstty.c @@ -4,10 +4,7 @@ /* NetHack may be freely redistributed. See license for details. */ /* tty.c - (VMS) version */ -#ifndef NEED_VARARGS #define NEED_VARARGS -#endif - #include "hack.h" #include "wintty.h" #include "tcap.h" diff --git a/sys/windows/consoletty.c b/sys/windows/consoletty.c index 358535117..ec6c3b665 100644 --- a/sys/windows/consoletty.c +++ b/sys/windows/consoletty.c @@ -19,10 +19,7 @@ #endif #ifdef WIN32 -#ifndef NEED_VARARGS #define NEED_VARARGS /* Uses ... */ -#endif - #include "win32api.h" #include "winos.h" #include "hack.h" diff --git a/sys/windows/windsys.c b/sys/windows/windsys.c index be55b1dc0..af51e9c5b 100644 --- a/sys/windows/windsys.c +++ b/sys/windows/windsys.c @@ -14,10 +14,7 @@ #include "win10.h" #include "winos.h" -#ifndef NEED_VARARGS #define NEED_VARARGS -#endif - #include "hack.h" #include #ifndef __BORLANDC__ diff --git a/util/panic.c b/util/panic.c index 48c70ebe9..d15bec88c 100644 --- a/util/panic.c +++ b/util/panic.c @@ -8,10 +8,7 @@ * mode for the makedefs / drg code. */ -#ifndef NEED_VARARGS #define NEED_VARARGS -#endif - #include "config.h" #ifdef AZTEC