From 13541c14c5b0db85e19d8da986d0b2fb2c0ccf19 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 6 Nov 2011 19:01:30 +0000 Subject: 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(-) (limited to 'usr.sbin/apm') diff --git a/usr.sbin/apm/apm.c b/usr.sbin/apm/apm.c index b4c34ab..05652da 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) -- cgit v1.1