Mark global functions and/or variables in apm(8) static where possible.

This allows compilers and static analyzers to do more thorough analysis.
This commit is contained in:
Ed Schouten 2011-11-06 19:01:30 +00:00
parent 982e6e69cd
commit 6f344d60d5

View file

@ -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)