summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-12-22 23:08:33 +0000
committerjilles <jilles@FreeBSD.org>2013-12-22 23:08:33 +0000
commitd08ecc86b4bcc22a4c54676370e6d87b43de66d0 (patch)
tree8b252b35d9c046fa44135a661f1fb53e8b5903b7
parent7ed70e99db34b4b7c79fa889df6625f997544941 (diff)
downloadFreeBSD-src-d08ecc86b4bcc22a4c54676370e6d87b43de66d0.zip
FreeBSD-src-d08ecc86b4bcc22a4c54676370e6d87b43de66d0.tar.gz
MFC r256650: 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.
-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