From 5843f5f37b0632e2d706abc9014bfd7d98f7b02e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 20 Aug 2019 20:13:45 +0200 Subject: patch 8.1.1891: functions used in one file are global Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840) --- src/digraph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/digraph.c') diff --git a/src/digraph.c b/src/digraph.c index 5b56095378..8a3bf12b3b 100644 --- a/src/digraph.c +++ b/src/digraph.c @@ -2180,7 +2180,7 @@ listdigraphs(int use_headers) wrong, in which case we messed up ScreenLines */ } -struct dg_header_entry { +static struct dg_header_entry { int dg_start; char *dg_header; } header_table[] = { -- cgit v1.2.3