From: Christoph Hellwig Date: Fri, 17 Nov 2017 04:11:35 +0000 (-0600) Subject: xfs: mark xfs_btree_check_lblock and xfs_btree_check_ptr static X-Git-Tag: v4.15.0-rc1~143^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=246486c1857440c8c66cef10e8c52a01c42fe392;p=thirdparty%2Fxfsprogs-dev.git xfs: mark xfs_btree_check_lblock and xfs_btree_check_ptr static Source kernel commit: 4483eb566b2c045f69f2fa01629aca7772cdf95e Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_btree.c b/libxfs/xfs_btree.c index 59bd142b8..cc1320f7c 100644 --- a/libxfs/xfs_btree.c +++ b/libxfs/xfs_btree.c @@ -105,7 +105,7 @@ __xfs_btree_check_lblock( } /* Check a long btree block header. */ -int +static int xfs_btree_check_lblock( struct xfs_btree_cur *cur, struct xfs_btree_block *block, @@ -235,7 +235,7 @@ xfs_btree_check_sptr( * Check that a given (indexed) btree pointer at a certain level of a * btree is valid and doesn't point past where it should. */ -int +static int xfs_btree_check_ptr( struct xfs_btree_cur *cur, union xfs_btree_ptr *ptr,