diff --git a/src/term.c b/src/term.c index 5833a50b962..96fdc5c4798 100644 --- a/src/term.c +++ b/src/term.c @@ -374,7 +374,7 @@ int max_frame_width; int max_frame_height; -int costs_set = 0; /* Nonzero if costs have been calculated. */ +static int costs_set; /* Nonzero if costs have been calculated. */ int insert_mode; /* Nonzero when in insert mode. */ int standout_mode; /* Nonzero when in standout mode. */