Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2013 20:04:07 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256650 - head/usr.sbin/kldxref
Message-ID:  <201310162004.r9GK47kn041646@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Wed Oct 16 20:04:06 2013
New Revision: 256650
URL: http://svnweb.freebsd.org/changeset/base/256650

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

Modified:
  head/usr.sbin/kldxref/kldxref.c

Modified: head/usr.sbin/kldxref/kldxref.c
==============================================================================
--- head/usr.sbin/kldxref/kldxref.c	Wed Oct 16 19:53:50 2013	(r256649)
+++ head/usr.sbin/kldxref/kldxref.c	Wed Oct 16 20:04:06 2013	(r256650)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310162004.r9GK47kn041646>