remove register keyword

Signed-off-by: SASANO Takayoshi <uaa@uaa.org.uk>
This commit is contained in:
SASANO Takayoshi 2023-12-09 20:11:07 +09:00 • committed by Masanori Ogino
commit 72254c526f
33 changed files with 374 additions and 382 deletions

View file

@ -54,8 +54,8 @@ static char *ttys = "/etc/ttys";
nmttyslot (name)
char *name;
{
register char *tp, *p;
register int s, tf;
char *tp, *p;
int s, tf;
tp = name;
@ -82,7 +82,7 @@ getttys (f)
int f;
{
static char line[LINESIZE];
register char *lp;
char *lp;
top:
for (lp = line ; lp < &line[LINESIZE] ; lp ++) {
if (read (f, lp, 1) != 1)