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 --- sys-utils/hwclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/hwclock.c') diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index 9fae9df23..21d1304e1 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -90,7 +90,7 @@ static int hwaudit_fd = -1; #endif /* The struct that holds our hardware access routines */ -struct clock_ops *ur; +static struct clock_ops *ur; /* Maximal clock adjustment in seconds per day. (adjtime() glibc call has 2145 seconds limit on i386, so it is good enough for us as well, -- cgit v1.2.3-55-g7522