put_reg should not return int

This commit is contained in:
Devine Lu Linvega 2024-04-11 08:21:57 -07:00
parent d0e1a1a11a
commit 528331b35a
1 changed files with 1 additions and 2 deletions

View File

@ -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 *