Use __builtin_va_alist.
This commit is contained in:
parent
c098d54e0a
commit
0c00214737
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: varargs.h,v 1.12 1995/12/25 22:22:04 mycroft Exp $ */
|
||||
/* $NetBSD: varargs.h,v 1.13 1995/12/26 00:19:09 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -51,10 +51,11 @@
|
||||
#define __va_ellipsis ...
|
||||
#endif
|
||||
|
||||
#define va_dcl va_list va_alist; __va_ellipsis
|
||||
#define va_alist __builtin_va_alist
|
||||
#define va_dcl va_list __builtin_va_alist; __va_ellipsis
|
||||
|
||||
#undef va_start
|
||||
#define va_start(ap) \
|
||||
((ap) = (va_list)&va_alist)
|
||||
((ap) = (va_list)&__builtin_va_alist)
|
||||
|
||||
#endif /* !_I386_VARARGS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: varargs.h,v 1.12 1995/12/25 22:22:06 mycroft Exp $ */
|
||||
/* $NetBSD: varargs.h,v 1.13 1995/12/26 00:19:13 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -51,10 +51,11 @@
|
||||
#define __va_ellipsis ...
|
||||
#endif
|
||||
|
||||
#define va_dcl va_list va_alist; __va_ellipsis
|
||||
#define va_alist __builtin_va_alist
|
||||
#define va_dcl va_list __builtin_va_alist; __va_ellipsis
|
||||
|
||||
#undef va_start
|
||||
#define va_start(ap) \
|
||||
((ap) = (va_list)&va_alist)
|
||||
((ap) = (va_list)&__builtin_va_alist)
|
||||
|
||||
#endif /* !_M68K_VARARGS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: varargs.h,v 1.10 1995/12/25 22:22:10 mycroft Exp $ */
|
||||
/* $NetBSD: varargs.h,v 1.11 1995/12/26 00:19:16 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -51,10 +51,11 @@
|
||||
#define __va_ellipsis ...
|
||||
#endif
|
||||
|
||||
#define va_dcl va_list va_alist; __va_ellipsis
|
||||
#define va_alist __builtin_va_alist
|
||||
#define va_dcl va_list __builtin_va_alist; __va_ellipsis
|
||||
|
||||
#undef va_start
|
||||
#define va_start(ap) \
|
||||
((ap) = (va_list)&va_alist)
|
||||
((ap) = (va_list)&__builtin_va_alist)
|
||||
|
||||
#endif /* !_PMAX_VARARGS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: varargs.h,v 1.10 1995/12/25 22:22:08 mycroft Exp $ */
|
||||
/* $NetBSD: varargs.h,v 1.11 1995/12/26 00:19:14 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -51,10 +51,11 @@
|
||||
#define __va_ellipsis ...
|
||||
#endif
|
||||
|
||||
#define va_dcl va_list va_alist; __va_ellipsis
|
||||
#define va_alist __builtin_va_alist
|
||||
#define va_dcl va_list __builtin_va_alist; __va_ellipsis
|
||||
|
||||
#undef va_start
|
||||
#define va_start(ap) \
|
||||
((ap) = (va_list)&va_alist)
|
||||
((ap) = (va_list)&__builtin_va_alist)
|
||||
|
||||
#endif /* !_PC532_VARARGS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: varargs.h,v 1.10 1995/12/25 22:22:10 mycroft Exp $ */
|
||||
/* $NetBSD: varargs.h,v 1.11 1995/12/26 00:19:16 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -51,10 +51,11 @@
|
||||
#define __va_ellipsis ...
|
||||
#endif
|
||||
|
||||
#define va_dcl va_list va_alist; __va_ellipsis
|
||||
#define va_alist __builtin_va_alist
|
||||
#define va_dcl va_list __builtin_va_alist; __va_ellipsis
|
||||
|
||||
#undef va_start
|
||||
#define va_start(ap) \
|
||||
((ap) = (va_list)&va_alist)
|
||||
((ap) = (va_list)&__builtin_va_alist)
|
||||
|
||||
#endif /* !_PMAX_VARARGS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: varargs.h,v 1.7 1995/12/25 22:24:56 mycroft Exp $ */
|
||||
/* $NetBSD: varargs.h,v 1.8 1995/12/26 00:19:17 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -60,7 +60,8 @@
|
||||
#define __va_ellipsis ...
|
||||
#endif
|
||||
|
||||
#define va_dcl va_list va_alist; __va_ellipsis
|
||||
#define va_alist __builtin_va_alist
|
||||
#define va_dcl va_list __builtin_va_alist; __va_ellipsis
|
||||
|
||||
#undef va_start
|
||||
#ifdef __GCC_NEW_VARARGS__
|
||||
@ -68,7 +69,7 @@
|
||||
((ap) = (va_list)__builtin_saveregs())
|
||||
#else
|
||||
#define va_start(ap) \
|
||||
(__builtin_saveregs(), (ap) = (va_list)&va_alist)
|
||||
(__builtin_saveregs(), (ap) = (va_list)&__builtin_va_alist)
|
||||
#endif
|
||||
|
||||
#endif /* !_SPARC_VARARGS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: varargs.h,v 1.7 1995/12/25 22:22:12 mycroft Exp $ */
|
||||
/* $NetBSD: varargs.h,v 1.8 1995/12/26 00:19:18 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -46,10 +46,11 @@
|
||||
#define __va_ellipsis ...
|
||||
#endif
|
||||
|
||||
#define va_dcl va_list va_alist; __va_ellipsis
|
||||
#define va_alist __builtin_va_alist
|
||||
#define va_dcl va_list __builtin_va_alist; __va_ellipsis
|
||||
|
||||
#undef va_start
|
||||
#define va_start(ap) \
|
||||
((ap) = (va_list)&va_alist)
|
||||
((ap) = (va_list)&__builtin_va_alist)
|
||||
|
||||
#endif /* !_VAX_VARARGS_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user