From 22f9c4511c28f1fa7e90fcb88ff6f4080d0fa018 Mon Sep 17 00:00:00 2001 From: psmith Date: Wed, 25 Feb 2004 19:30:27 +0000 Subject: [PATCH] Fix the origin regression test. Remove sample code from make.h I accidentally left behind. --- make.h | 15 --------------- tests/scripts/functions/origin | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/make.h b/make.h index 01eeb7a..786fc6c 100644 --- a/make.h +++ b/make.h @@ -387,21 +387,6 @@ struct floc #define STRING_SIZE_TUPLE(_s) (_s), (sizeof (_s)-1) -/* Fancy processing for variadic functions in both ANSI and pre-ANSI - compilers. */ -#if HAVE_STDARG_H -# include -# define VA_START(a, f) va_start(a, f) -#else -# if HAVE_VARARGS_H -# include -# define VA_START(a, f) va_start(a) -# endif -#endif -#ifndef VA_START - error no variadic api -#endif - /* We have to have both stdarg.h or varargs.h AND v*printf or doprnt to use variadic versions of these functions. */ diff --git a/tests/scripts/functions/origin b/tests/scripts/functions/origin index c45a359..d5116cd 100644 --- a/tests/scripts/functions/origin +++ b/tests/scripts/functions/origin @@ -22,7 +22,7 @@ open(MAKEFILE,"> $makefile"); print MAKEFILE <