From d08ecc86b4bcc22a4c54676370e6d87b43de66d0 Mon Sep 17 00:00:00 2001 From: jilles Date: Sun, 22 Dec 2013 23:08:33 +0000 Subject: 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. --- usr.sbin/kldxref/kldxref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin') 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) -- cgit v1.1