diff options
author | jilles <jilles@FreeBSD.org> | 2013-10-16 20:04:06 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2013-10-16 20:04:06 +0000 |
commit | c39edfbbf86784a5c5ddca4f4b1599f8e39313f0 (patch) | |
tree | ae0337af798c8c37566c24f080ed94513cccc1ad /usr.sbin/kldxref | |
parent | cd4e844814f7d558fde3c8ca215cfbc6f1f3d363 (diff) | |
download | FreeBSD-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.c | 2 |
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) |