Added "register" to a declaration.
This commit is contained in:
parent
a761166dfa
commit
981bea82f4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue