[2.6 patch] "extern inline" doesn't make sense

From: Adrian Bunk
Date: Fri Aug 19 2005 - 18:41:44 EST


"extern inline" doesn't make sense.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.13-rc6-mm1-full/fs/adfs/adfs.h.old 2005-08-19 23:21:33.000000000 +0200
+++ linux-2.6.13-rc6-mm1-full/fs/adfs/adfs.h 2005-08-19 23:22:07.000000000 +0200
@@ -97,7 +97,7 @@
extern struct inode_operations adfs_file_inode_operations;
extern struct file_operations adfs_file_operations;

-extern inline __u32 signed_asl(__u32 val, signed int shift)
+static inline __u32 signed_asl(__u32 val, signed int shift)
{
if (shift >= 0)
val <<= shift;
@@ -112,7 +112,7 @@
*
* The root directory ID should always be looked up in the map [3.4]
*/
-extern inline int
+static inline int
__adfs_block_map(struct super_block *sb, unsigned int object_id,
unsigned int block)
{

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/