summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-13 07:19:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-13 07:19:02 +0000
commit419adbd3e0db464bf28896c5693c6f83f7d178f8 (patch)
tree9d8c792055f0849b4b0813f2902bfe9f9c9f0915 /sys/arch
parent17e6b13040a93131519886f8c3587df01801ebaf (diff)
varargs.h needs ... in va_dcl for gcc >= 2; from arnej@imf.unit.no; netbsd pr#1695
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/include/varargs.h2
-rw-r--r--sys/arch/m68k/include/varargs.h2
-rw-r--r--sys/arch/pc532/include/varargs.h2
-rw-r--r--sys/arch/pica/include/varargs.h2
-rw-r--r--sys/arch/pmax/include/varargs.h2
-rw-r--r--sys/arch/sparc/include/varargs.h2
-rw-r--r--sys/arch/vax/include/varargs.h2
7 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/i386/include/varargs.h b/sys/arch/i386/include/varargs.h
index ab1677031b6..5ac55595c94 100644
--- a/sys/arch/i386/include/varargs.h
+++ b/sys/arch/i386/include/varargs.h
@@ -47,7 +47,7 @@
typedef _BSD_VA_LIST_ va_list;
-#define va_dcl int va_alist;
+#define va_dcl int va_alist; ...
#define __va_promote(type) \
(((sizeof(type) + sizeof(int) - 1) / sizeof(int)) * sizeof(int))
diff --git a/sys/arch/m68k/include/varargs.h b/sys/arch/m68k/include/varargs.h
index ab4c8f976e5..d3a160453c0 100644
--- a/sys/arch/m68k/include/varargs.h
+++ b/sys/arch/m68k/include/varargs.h
@@ -47,7 +47,7 @@
typedef _BSD_VA_LIST_ va_list;
-#define va_dcl int va_alist;
+#define va_dcl int va_alist; ...
#define __va_promote(type) \
(((sizeof(type) + sizeof(int) - 1) / sizeof(int)) * sizeof(int))
diff --git a/sys/arch/pc532/include/varargs.h b/sys/arch/pc532/include/varargs.h
index 5aedb16124f..3980803f1ac 100644
--- a/sys/arch/pc532/include/varargs.h
+++ b/sys/arch/pc532/include/varargs.h
@@ -47,7 +47,7 @@
typedef _BSD_VA_LIST_ va_list;
-#define va_dcl int va_alist;
+#define va_dcl int va_alist; ...
#define __va_promote(type) \
(((sizeof(type) + sizeof(int) - 1) / sizeof(int)) * sizeof(int))
diff --git a/sys/arch/pica/include/varargs.h b/sys/arch/pica/include/varargs.h
index 6e45f73d1ee..8cb900dc521 100644
--- a/sys/arch/pica/include/varargs.h
+++ b/sys/arch/pica/include/varargs.h
@@ -47,7 +47,7 @@
typedef _BSD_VA_LIST_ va_list;
-#define va_dcl int va_alist;
+#define va_dcl int va_alist; ...
#define va_start(ap) \
ap = (char *)&va_alist
diff --git a/sys/arch/pmax/include/varargs.h b/sys/arch/pmax/include/varargs.h
index 6e45f73d1ee..8cb900dc521 100644
--- a/sys/arch/pmax/include/varargs.h
+++ b/sys/arch/pmax/include/varargs.h
@@ -47,7 +47,7 @@
typedef _BSD_VA_LIST_ va_list;
-#define va_dcl int va_alist;
+#define va_dcl int va_alist; ...
#define va_start(ap) \
ap = (char *)&va_alist
diff --git a/sys/arch/sparc/include/varargs.h b/sys/arch/sparc/include/varargs.h
index 9deb080ae04..5e06b12c6db 100644
--- a/sys/arch/sparc/include/varargs.h
+++ b/sys/arch/sparc/include/varargs.h
@@ -61,7 +61,7 @@
#else /* gcc2 */
#ifdef __GCC_NEW_VARARGS__ /* gcc 2.4.5 */
#define va_alist __builtin_va_alist
-#define va_dcl int __builtin_va_alist;
+#define va_dcl int __builtin_va_alist; ...
#else /* gcc 2.3.3 */
#define va_dcl int va_alist; ...
#endif
diff --git a/sys/arch/vax/include/varargs.h b/sys/arch/vax/include/varargs.h
index ec7a9e31b50..ec53db3e9d1 100644
--- a/sys/arch/vax/include/varargs.h
+++ b/sys/arch/vax/include/varargs.h
@@ -42,7 +42,7 @@
typedef _BSD_VA_LIST_ va_list;
-#define va_dcl int va_alist;
+#define va_dcl int va_alist; ...
#define va_start(ap) \
ap = (char *)&va_alist