]> err.no Git - linux-2.6/commitdiff
[XFS] replace "extern inline" with "static inline" Patch from Adrian Bunk
authorChristoph Hellwig <hch@sgi.com>
Sun, 4 Sep 2005 22:40:49 +0000 (08:40 +1000)
committerNathan Scott <nathans@sgi.com>
Sun, 4 Sep 2005 22:40:49 +0000 (08:40 +1000)
<bunk@stusta.de>, thanks a lot!

SGI-PV: 942227
SGI-Modid: xfs-linux:xfs-kern:198642a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_buf.h

index 4b7fe3b5e460f6524261f2c0c8a81687776874d1..67c19f7992325ee57d743f3f77e0123a9b39588d 100644 (file)
@@ -444,7 +444,7 @@ extern void pagebuf_trace(
 
 #define XFS_BUF_PTR(bp)                (xfs_caddr_t)((bp)->pb_addr)
 
-extern inline xfs_caddr_t xfs_buf_offset(xfs_buf_t *bp, size_t offset)
+static inline xfs_caddr_t xfs_buf_offset(xfs_buf_t *bp, size_t offset)
 {
        if (bp->pb_flags & PBF_MAPPED)
                return XFS_BUF_PTR(bp) + offset;