diff options
author | Eric Biggers <ebiggers@google.com> | 2016-10-20 15:42:30 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-10-20 15:42:30 +1100 |
commit | f1b8243c55ca6fd2a3898e2f586b8cfcfff684bb (patch) | |
tree | 529ffa6991ebfa7690333db7ad5fdd20a84c21e0 /fs/xfs/libxfs | |
parent | 1be7f9be0efa4e90547f50b8188f4e70710a1173 (diff) | |
download | linux-f1b8243c55ca6fd2a3898e2f586b8cfcfff684bb.tar.bz2 |
xfs: add some 'static' annotations
sparse reported that several variables and a function were not
forward-declared anywhere and therefore should be 'static'.
Found with sparse by running 'make C=2 CF=-D__CHECK_ENDIAN__ fs/xfs/'
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs')
-rw-r--r-- | fs/xfs/libxfs/xfs_btree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_btree.c b/fs/xfs/libxfs/xfs_btree.c index 5c8e6f2ce44f..0e80993c8a59 100644 --- a/fs/xfs/libxfs/xfs_btree.c +++ b/fs/xfs/libxfs/xfs_btree.c @@ -4826,7 +4826,7 @@ xfs_btree_calc_size( return rval; } -int +static int xfs_btree_count_blocks_helper( struct xfs_btree_cur *cur, int level, |