svn commit: r256650 - head/usr.sbin/kldxref
Jilles Tjoelker
jilles at FreeBSD.org
Wed Oct 16 20:04:07 UTC 2013
Author: jilles
Date: Wed Oct 16 20:04:06 2013
New Revision: 256650
URL: http://svnweb.freebsd.org/changeset/base/256650
Log:
kldxref: Add static keyword to the new function only used in the same file.
The WARNS level is not such that the omission broke the build.
Reported by: mdf
Modified:
head/usr.sbin/kldxref/kldxref.c
Modified: head/usr.sbin/kldxref/kldxref.c
==============================================================================
--- head/usr.sbin/kldxref/kldxref.c Wed Oct 16 19:53:50 2013 (r256649)
+++ head/usr.sbin/kldxref/kldxref.c Wed Oct 16 20:04:06 2013 (r256650)
@@ -274,7 +274,7 @@ usage(void)
exit(1);
}
-int
+static int
compare(const FTSENT *const *a, const FTSENT *const *b)
{
if ((*a)->fts_info == FTS_D && (*b)->fts_info != FTS_D)
More information about the svn-src-head
mailing list