[XFS] Fix up some warning fallout from functions made static

Linux Kernel Mailing List <[email protected]> Tue, 21 Jun 2005 20:11:01 -0700
Newsgroups gmane.linux.kernel.commits.2-4
Message-ID <[email protected]>
tree 4eaaec0954843cbfdb9f5dc14e02db9f04d885cc
parent 365ca83d509f77f2095976edb8d10ca6e9d86d58
author Eric Sandeen <[email protected]> Tue, 21 Jun 2005 15:39:44 +1000
committer Nathan Scott <[email protected]> Tue, 21 Jun 2005 15:39:44 +1000

[XFS] Fix up some warning fallout from functions made static

SGI-PV: 936255
SGI-Modid: xfs-linux:xfs-kern:193691a

Signed-off-by: Eric Sandeen <[email protected]>
Signed-off-by: Nathan Scott <[email protected]>

 fs/xfs/xfs_btree.c     |    2 +-
 fs/xfs/xfs_dir2_leaf.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/xfs/xfs_btree.c b/fs/xfs/xfs_btree.c
--- a/fs/xfs/xfs_btree.c
+++ b/fs/xfs/xfs_btree.c
@@ -93,7 +93,7 @@ xfs_btree_maxrecs(
  * Retrieve the block pointer from the cursor at the given level.
  * This may be a bmap btree root or from a buffer.
  */
-xfs_btree_block_t *			/* generic btree block pointer */
+STATIC xfs_btree_block_t *			/* generic btree block pointer */
 xfs_btree_get_block(
 	xfs_btree_cur_t		*cur,	/* btree cursor */
 	int			level,	/* level in btree */
diff --git a/fs/xfs/xfs_dir2_leaf.c b/fs/xfs/xfs_dir2_leaf.c
--- a/fs/xfs/xfs_dir2_leaf.c
+++ b/fs/xfs/xfs_dir2_leaf.c
@@ -79,7 +79,7 @@ static int xfs_dir2_leaf_lookup_int(xfs_
 				    int *indexp, xfs_dabuf_t **dbpp);
 static void xfs_dir2_leaf_log_bests(struct xfs_trans *tp, struct xfs_dabuf *bp,
 				    int first, int last);
-extern void xfs_dir2_leaf_log_tail(struct xfs_trans *tp, struct xfs_dabuf *bp);
+static void xfs_dir2_leaf_log_tail(struct xfs_trans *tp, struct xfs_dabuf *bp);
 
 
 /*