xfs
[Top] [All Lists]

Re: TAKE 936255 - Remove dead code.

To: Christoph Hellwig <hch@xxxxxxx>
Subject: Re: TAKE 936255 - Remove dead code.
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Fri, 20 May 2005 01:09:54 -0700
Cc: linux-xfs@xxxxxxxxxxx, sgi.bugs.xfs@xxxxxxxxxxxxxxxxx
In-reply-to: <E1DYKh0-0006ez-00@xxxxxxxxxxxxxxxxxxxxxx>
References: <E1DYKh0-0006ez-00@xxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
Recent cleanups making some functions static now generate warnings.

Trivial fixes:


Index: taniwha-kernel-050519/fs/xfs/xfs_btree.c
===================================================================
--- taniwha-kernel-050519.orig/fs/xfs/xfs_btree.c       2005-05-20 
00:59:56.801805205 -0700
+++ taniwha-kernel-050519/fs/xfs/xfs_btree.c    2005-05-20 01:07:04.247715873 
-0700
@@ -93,7 +93,7 @@
  * 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 */
Index: taniwha-kernel-050519/fs/xfs/xfs_dir2_leaf.c
===================================================================
--- taniwha-kernel-050519.orig/fs/xfs/xfs_dir2_leaf.c   2005-05-20 
00:59:56.812805872 -0700
+++ taniwha-kernel-050519/fs/xfs/xfs_dir2_leaf.c        2005-05-20 
01:07:04.245715752 -0700
@@ -79,7 +79,7 @@
                                    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);
 
 
 /*


<Prev in Thread] Current Thread [Next in Thread>