summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kldxref
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-10-16 20:04:06 +0000
committerjilles <jilles@FreeBSD.org>2013-10-16 20:04:06 +0000
commitc39edfbbf86784a5c5ddca4f4b1599f8e39313f0 (patch)
treeae0337af798c8c37566c24f080ed94513cccc1ad /usr.sbin/kldxref
parentcd4e844814f7d558fde3c8ca215cfbc6f1f3d363 (diff)
downloadFreeBSD-src-c39edfbbf86784a5c5ddca4f4b1599f8e39313f0.zip
FreeBSD-src-c39edfbbf86784a5c5ddca4f4b1599f8e39313f0.tar.gz
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
Diffstat (limited to 'usr.sbin/kldxref')
-rw-r--r--usr.sbin/kldxref/kldxref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/kldxref/kldxref.c b/usr.sbin/kldxref/kldxref.c
index e74be96..9144ba0 100644
--- a/usr.sbin/kldxref/kldxref.c
+++ b/usr.sbin/kldxref/kldxref.c
@@ -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)
OpenPOWER on IntegriCloud