From 2ba641e5f3879593e36fa84872289872a4060d03 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 12 Feb 2017 00:19:33 +0000 Subject: misc: add static keyword to where needed [smatch scan] text-utils/rev.c:68:9: warning: symbol 'buf' was not declared. Should it be static? Signed-off-by: Sami Kerola --- text-utils/column.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'text-utils/column.c') diff --git a/text-utils/column.c b/text-utils/column.c index deeea855e..3d50f2e27 100644 --- a/text-utils/column.c +++ b/text-utils/column.c @@ -308,8 +308,8 @@ static void print(wchar_t **list, int entries) } } -wchar_t *local_wcstok(wchar_t * p, const wchar_t * separator, int greedy, - wchar_t ** wcstok_state) +static wchar_t *local_wcstok(wchar_t *p, const wchar_t *separator, int greedy, + wchar_t **wcstok_state) { wchar_t *result; if (greedy) -- cgit v1.2.3-55-g7522