From: ceriel Date: Fri, 7 Nov 1986 16:01:45 +0000 (+0000) Subject: Added "register" to a declaration. X-Git-Tag: release-5-5~5164 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=981bea82f4070d83dbfad78d6d165c0fde0ecd88;p=ack.git Added "register" to a declaration. --- diff --git a/util/LLgen/src/alloc.c b/util/LLgen/src/alloc.c index 2e8f2967b..2a29733a0 100644 --- a/util/LLgen/src/alloc.c +++ b/util/LLgen/src/alloc.c @@ -62,7 +62,7 @@ ralloc(p,size) p_mem p; unsigned size; { } p_mem -new_mem(p) p_info p; { +new_mem(p) register p_info p; { /* This routine implements arrays that can grow. It must be called every time a new element is added to it. @@ -75,7 +75,7 @@ new_mem(p) p_info p; { */ p_mem rp; unsigned sz; - + if (p->i_max >= p->i_top) { /* No more free elements */ sz = p->i_size; p->i_size += p->i_incr * p->i_esize;