summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2007-09-19 12:12:44 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2007-09-19 12:12:44 +0000
commit172b9235af2bf57c47cc398145d502c118e043b4 (patch)
tree33da6985172b0d46c2dd6da56a40a0eaa71008ba
parent1f6af56d777b4d3602a7d6e30136ad7afa0ad188 (diff)
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