put_reg should not return int
This commit is contained in:
parent
d0e1a1a11a
commit
528331b35a
|
@ -67,7 +67,7 @@ set_reg(int r, char *b)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static void
|
||||||
put_reg(char r)
|
put_reg(char r)
|
||||||
{
|
{
|
||||||
char *s = regs[(int)r];
|
char *s = regs[(int)r];
|
||||||
|
@ -90,7 +90,6 @@ put_reg(char r)
|
||||||
while((s < ss)) *outp_++ = *s++;
|
while((s < ss)) *outp_++ = *s++;
|
||||||
} else
|
} else
|
||||||
*outp_++ = r;
|
*outp_++ = r;
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
|
|
Loading…
Reference in New Issue