summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>2007-09-19 12:12:43 +0000
committertodd <todd@openbsd.org>2007-09-19 12:12:43 +0000
commit1cf790f56eab682d402e2b8002ada9de25898129 (patch)
treefa16305c249b106ae732aa410e04f1ddf108411b
parentDo not parse quoted strings because GNU cvs won't do so. (diff)
downloadwireguard-openbsd-1cf790f56eab682d402e2b8002ada9de25898129.tar.xz
wireguard-openbsd-1cf790f56eab682d402e2b8002ada9de25898129.zip
pullup from pcc repo, my start at fixing the vax target
ok otto@
-rw-r--r--usr.bin/pcc/arch/vax/macdefs.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/pcc/arch/vax/macdefs.h b/usr.bin/pcc/arch/vax/macdefs.h
index ff1d0dd2a06..c1ec962b50c 100644
--- a/usr.bin/pcc/arch/vax/macdefs.h
+++ b/usr.bin/pcc/arch/vax/macdefs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: macdefs.h,v 1.2 2007/09/15 22:04:38 ray Exp $ */
+/* $OpenBSD: macdefs.h,v 1.3 2007/09/19 12:12:43 todd Exp $ */
/*
* Copyright(C) Caldera International Inc. 2001-2002. All rights reserved.
*
@@ -61,8 +61,8 @@
# define CONFMT "%Ld"
/* size in which offsets are kept
-/* should be large enough to cover address space in bits
-*/
+ * should be large enough to cover address space in bits
+ */
# define OFFSZ long
@@ -79,6 +79,7 @@
# define MAXRVAR 11
# define MINRVAR 6
+# define MAXREGS MAXRVAR
/* various standard pieces of code are used */
# define STDPRTREE
@@ -151,5 +152,5 @@ extern int maxargs;
# define NESTCALL
# define MYREADER(p) walkf(p, optim2)
-int optim2();
+int optim2(void);
# define special(a, b) 0