From e7bee5b0430fe2128d48ba43c16995cabe1cd0df Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Fri, 16 Jun 1995 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1995-06-16 --- port/alloc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/port/alloc.c b/port/alloc.c index 3c3634efc17e5942a78465869081c76718cb1913..9b53842d113c22fea5726cc29f9a5cbcbb0cd28c 100644 --- a/port/alloc.c +++ b/port/alloc.c @@ -83,7 +83,7 @@ void xinit(void) { Hole *h, *eh; - int up, np0, np1; + int upages, np0, np1; eh = &xlists.hole[Nhole-1]; for(h = xlists.hole; h < eh; h++) @@ -91,8 +91,8 @@ xinit(void) xlists.flist = xlists.hole; - up = conf.upages; - np1 = up; + upages = conf.upages; + np1 = upages; if(np1 > conf.npage1) np1 = conf.npage1; @@ -100,9 +100,9 @@ xinit(void) conf.npage1 -= np1; xhole(conf.base1, conf.npage1*BY2PG); conf.npage1 = conf.base1+(conf.npage1*BY2PG); - up -= np1; + upages -= np1; - np0 = up; + np0 = upages; if(np0 > conf.npage0) np0 = conf.npage0;