From 6f344d60d51e5d67bab553669d902b021a4f0e50 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 6 Nov 2011 19:01:30 +0000 Subject: [PATCH] Mark global functions and/or variables in apm(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. --- usr.sbin/apm/apm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/apm/apm.c b/usr.sbin/apm/apm.c index b4c34ab7a21..05652da3f1c 100644 --- a/usr.sbin/apm/apm.c +++ b/usr.sbin/apm/apm.c @@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$"); #define xl(a) ((a) & 0xff) #define APMERR(a) xh(a) -int cmos_wall = 0; /* True when wall time is in cmos clock, else UTC */ +static int cmos_wall = 0; /* True when wall time is in cmos clock, else UTC */ static void usage(void)