public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] fs/xfs/linux-2.6/xfs_buf.h: "extern inline" doesn't make sense
@ 2005-08-19 23:43 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-08-19 23:43 UTC (permalink / raw)
  To: xfs-masters; +Cc: linux-xfs, linux-kernel

"extern inline" doesn't make sense.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.13-rc6-mm1-full/fs/xfs/linux-2.6/xfs_buf.h.old	2005-08-19 23:23:40.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/fs/xfs/linux-2.6/xfs_buf.h	2005-08-19 23:23:47.000000000 +0200
@@ -452,7 +452,7 @@
 
 #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;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6 patch] fs/xfs/linux-2.6/xfs_buf.h: "extern inline" doesn't make sense
@ 2005-09-03 13:23 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-09-03 13:23 UTC (permalink / raw)
  To: Andrew Morton; +Cc: xfs-masters, linux-xfs, linux-kernel

"extern inline" doesn't make sense.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 20 Aug 2005

--- linux-2.6.13-rc6-mm1-full/fs/xfs/linux-2.6/xfs_buf.h.old	2005-08-19 23:23:40.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/fs/xfs/linux-2.6/xfs_buf.h	2005-08-19 23:23:47.000000000 +0200
@@ -452,7 +452,7 @@
 
 #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;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-03 13:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19 23:43 [2.6 patch] fs/xfs/linux-2.6/xfs_buf.h: "extern inline" doesn't make sense Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-09-03 13:23 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox