Date: Sun, 6 Nov 2011 19:01:30 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r227249 - head/usr.sbin/apm Message-ID: <201111061901.pA6J1UPG036775@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111061901.pA6J1UPG036775>