svn commit: r227249 - head/usr.sbin/apm
Ed Schouten
ed at FreeBSD.org
Sun Nov 6 19:01:30 UTC 2011
Author: ed
Date: Sun Nov 6 19:01:30 2011
New Revision: 227249
URL: http://svn.freebsd.org/changeset/base/227249
Log:
Mark global functions and/or variables in apm(8) static where possible.
This allows compilers and static analyzers to do more thorough analysis.
Modified:
head/usr.sbin/apm/apm.c
Modified: head/usr.sbin/apm/apm.c
==============================================================================
--- head/usr.sbin/apm/apm.c Sun Nov 6 18:59:42 2011 (r227248)
+++ head/usr.sbin/apm/apm.c Sun Nov 6 19:01:30 2011 (r227249)
@@ -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)
More information about the svn-src-all
mailing list