diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-09-20 13:40:33 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-09-20 13:40:33 +0000 |
commit | e3c442fa3fbc675f8c1fdecb938a98cc041a198e (patch) | |
tree | ef5f5430775cf09b7a4c303c3df32017af2b31e7 | |
parent | 8aa2d6006acb4db19a7685f6e984f6a5d073bff5 (diff) |
fix chkop size and a typo; from mickey via ragge's repo
-rw-r--r-- | usr.bin/pcc/mip/mkext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/pcc/mip/mkext.c b/usr.bin/pcc/mip/mkext.c index 184020e407f..b209708f711 100644 --- a/usr.bin/pcc/mip/mkext.c +++ b/usr.bin/pcc/mip/mkext.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkext.c,v 1.2 2007/09/15 22:04:39 ray Exp $ */ +/* $OpenBSD: mkext.c,v 1.3 2007/09/20 13:40:32 otto Exp $ */ /* * Generate defines for the needed hardops. */ @@ -6,7 +6,7 @@ #include <string.h> -int chkop[MAXOP]; +int chkop[DSIZE]; void mktables(void); @@ -144,7 +144,7 @@ main(int argc, char *argv[]) rval++; } } - if (q->rewrite & (RESC1|RESC2|RESC1) && q->visit & FOREFF) + if (q->rewrite & (RESC1|RESC2|RESC3) && q->visit & FOREFF) compl(q, "FOREFF may cause reclaim of wrong class"); } |