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/rev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text-utils/rev.c') diff --git a/text-utils/rev.c b/text-utils/rev.c index b4ae892f1..feed2b167 100644 --- a/text-utils/rev.c +++ b/text-utils/rev.c @@ -64,7 +64,7 @@ #include "c.h" #include "closestream.h" -wchar_t *buf; +static wchar_t *buf; static void sig_handler(int signo __attribute__ ((__unused__))) { -- cgit v1.2.3-55-g7522