svn commit: r259751 - stable/10/usr.sbin/kldxref

Jilles Tjoelker jilles at FreeBSD.org
Sun Dec 22 23:08:34 UTC 2013


Author: jilles
Date: Sun Dec 22 23:08:33 2013
New Revision: 259751
URL: http://svnweb.freebsd.org/changeset/base/259751

Log:
  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.

Modified:
  stable/10/usr.sbin/kldxref/kldxref.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/kldxref/kldxref.c
==============================================================================
--- stable/10/usr.sbin/kldxref/kldxref.c	Sun Dec 22 23:03:29 2013	(r259750)
+++ stable/10/usr.sbin/kldxref/kldxref.c	Sun Dec 22 23:08:33 2013	(r259751)
@@ -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)


More information about the svn-src-stable-10 mailing list