summaryrefslogtreecommitdiff
path: root/utils/5c/reg.c
diff options
context:
space:
mode:
authorforsyth <forsyth@lavoro.terzarima.net>2013-06-03 21:01:14 +0000
committerforsyth <forsyth@lavoro.terzarima.net>2013-06-03 21:01:14 +0000
commit45a20ab721a513710138340faff3d59a31c3e01e (patch)
treeeea29d2684c51cc73725b8992a2125bede48e118 /utils/5c/reg.c
parentcd8e99851af33e52bcdf8faf34f9d4e62fa0cbaf (diff)
sync compilers with Plan 9
remove 1[acl] 2[acl]
Diffstat (limited to 'utils/5c/reg.c')
-rw-r--r--utils/5c/reg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/5c/reg.c b/utils/5c/reg.c
index 43c78712..ab1005ba 100644
--- a/utils/5c/reg.c
+++ b/utils/5c/reg.c
@@ -18,7 +18,7 @@ rega(void)
}
int
-rcmp(const void *a1, const void *a2)
+rcmp(void *a1, void *a2)
{
Rgn *p1, *p2;
int c1, c2;
@@ -1125,7 +1125,7 @@ RtoB(int r)
int
BtoR(long b)
{
- b &= 0x01fcL;
+ b &= 0x01fcL; // excluded R9 and R10 for extern registers
if(b == 0)
return 0;
return bitno(b);