From 5d452cea6401dc4d97f2b151b6010ce5f034f2f5 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Wed, 16 Oct 2013 20:04:06 +0000 Subject: [PATCH] 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 --- usr.sbin/kldxref/kldxref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/kldxref/kldxref.c b/usr.sbin/kldxref/kldxref.c index e74be96a521..9144ba03056 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)