summaryrefslogtreecommitdiff
path: root/gcc/ginclude
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-07 00:18:05 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-07 00:18:05 +0000
commit90281314dbd364d1e05d9da89a5ad4d37c314d31 (patch)
treef14c7de610905a5090bc5ea796733af440fdb254 /gcc/ginclude
parent4b4ef1256b66673e653b8c1d361d127f3dae1bbd (diff)
downloadgcc-90281314dbd364d1e05d9da89a5ad4d37c314d31.tar.gz
X
* ginclude/varargs.h (__builtin_va_alist_t): New typedef. (va_dcl): Use __builtin_va_alist_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27971 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude')
-rw-r--r--gcc/ginclude/varargs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h
index fd4504f0509..bb9c98a7c30 100644
--- a/gcc/ginclude/varargs.h
+++ b/gcc/ginclude/varargs.h
@@ -93,8 +93,9 @@
#define va_alist __builtin_va_alist
/* The ... causes current_function_varargs to be set in cc1. */
-#define va_dcl int __builtin_va_alist __attribute__((__mode__(__word__))); \
- __va_ellipsis
+/* ??? We don't process attributes correctly in K&R argument context. */
+typedef int __builtin_va_alist_t __attribute__((__mode__(__word__)));
+#define va_dcl __builtin_va_alist_t __builtin_va_alist; __va_ellipsis
/* Define __gnuc_va_list, just as in gstdarg.h. */