remove register from variable declarations

This commit is contained in:
nhmall
2024-02-19 16:30:07 -05:00
parent 6f569f0a27
commit 688ac6ffbe
113 changed files with 836 additions and 835 deletions

View File

@@ -293,7 +293,7 @@ static const char *arrow_or_PF = "ABCDPQRS", /* suffix char */
/* Ultimate return value is (index into smg_keypad_codes[] + 256). */
static short
parse_function_key(register int c)
parse_function_key(int c)
{
struct _rd_iosb iosb;
unsigned long sts;
@@ -319,8 +319,8 @@ parse_function_key(register int c)
} else
sts = SS$_NORMAL;
if (vms_ok(sts) || sts == SS$_TIMEOUT) {
register int cnt = iosb.trm_offset + iosb.trm_siz + inc;
register char *p = seq_buf;
int cnt = iosb.trm_offset + iosb.trm_siz + inc;
char *p = seq_buf;
if (c == ESC) /* check for 7-bit vt100/ANSI, or vt52 */
if (*p == '[' || *p == 'O')
@@ -328,7 +328,7 @@ parse_function_key(register int c)
else if (strchr(arrow_or_PF, *p))
c = SS3; /*CSI*/
if (cnt > 0 && (c == SS3 || (c == CSI && strchr(arrow_or_PF, *p)))) {
register char *q = strchr(smg_keypad_codes, *p);
char *q = strchr(smg_keypad_codes, *p);
if (q)
result = 256 + (q - smg_keypad_codes);