From e735419e18b00837062b81676fb954022343aff1 Mon Sep 17 00:00:00 2001 From: Mark Nudelman Date: Tue, 14 May 2024 11:00:29 -0700 Subject: [PATCH] Make the updown variables static since they're no longer accessed outside cmdbuf.c. --- cmdbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdbuf.c b/cmdbuf.c index 46198e43..73dd2975 100644 --- a/cmdbuf.c +++ b/cmdbuf.c @@ -31,8 +31,8 @@ static int prompt_col; /* Column of cursor just after prompt */ static char *cp; /* Pointer into cmdbuf */ static int cmd_offset; /* Index into cmdbuf of first displayed char */ static lbool literal; /* Next input char should not be interpreted */ -public size_t updown_match; /* Prefix length in up/down movement */ -public lbool have_updown_match = FALSE; +static size_t updown_match; /* Prefix length in up/down movement */ +static lbool have_updown_match = FALSE; #if TAB_COMPLETE_FILENAME static int cmd_complete(int action);