From 528331b35aa5c463466af21c1abb1534b57b0d82 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Thu, 11 Apr 2024 08:21:57 -0700 Subject: [PATCH] put_reg should not return int --- src/modal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modal.c b/src/modal.c index e2f9a1d..d566e11 100644 --- a/src/modal.c +++ b/src/modal.c @@ -67,7 +67,7 @@ set_reg(int r, char *b) return 1; } -static int +static void put_reg(char r) { char *s = regs[(int)r]; @@ -90,7 +90,6 @@ put_reg(char r) while((s < ss)) *outp_++ = *s++; } else *outp_++ = r; - return 1; } static char *