From c0e56dc2c3cf3fea29c4469b620f18a0e0904585 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sun, 28 Sep 2003 05:34:07 +0000 Subject: [PATCH] Drop any and all support for varargs. There's no history to worry about because we're still tier 2 and our current compiler, as well as future compilers will not support varargs. This is mostly a no-op in practice, because should already cause compile failures. --- sys/ia64/include/varargs.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/sys/ia64/include/varargs.h b/sys/ia64/include/varargs.h index f45b5d71719a..3ed42315c8c8 100644 --- a/sys/ia64/include/varargs.h +++ b/sys/ia64/include/varargs.h @@ -43,19 +43,6 @@ #ifndef _MACHINE_VARARGS_H_ #define _MACHINE_VARARGS_H_ -#include - -#ifndef _VA_LIST_DECLARED -#define _VA_LIST_DECLARED -typedef __va_list va_list; -#endif - -typedef int __builtin_va_alist_t __attribute__((__mode__(__word__))); - -#define va_alist __builtin_va_alist -#define va_dcl __builtin_va_alist_t __builtin_va_alist; ... -#define va_start(ap) __builtin_varargs_start(ap) -#define va_arg(ap, type) __builtin_va_arg((ap), type) -#define va_end(ap) __builtin_va_end(ap) +#error " is obsolete on ia64. Use instead." #endif /* !_MACHINE_VARARGS_H_ */