[PATCH]: reiserfs: E-extern-inline-copy_key.patch

Nikita Danilov (NikitaDanilov@Yahoo.COM)
Thu, 2 Aug 2001 19:50:39 +0400


Hello, Linus,

this patch suppresses warnings during reiserfs compilation in
2.4.8-pre3: include/linux/reiserfs_fs.h contains both definition and
declaration of copy_key(). 2.4.8-pre3 changed "extern inline" to "static
inline" in definition, and so it mismatches declaration. Patch just
removes declaration.

Please apply.

[lkml: please CC me, I am not subscribed.]

Nikita.
diff -rup linux-2.4.8-pre3/include/linux/reiserfs_fs.h linux-2.4.8-pre3.patched/include/linux/reiserfs_fs.h
--- linux-2.4.8-pre3/include/linux/reiserfs_fs.h Wed Aug 1 21:07:39 2001
+++ linux-2.4.8-pre3.patched/include/linux/reiserfs_fs.h Wed Aug 1 22:32:54 2001
@@ -1652,7 +1652,6 @@ int reiserfs_convert_objectid_map_v1(str

/* stree.c */
int B_IS_IN_TREE(struct buffer_head *);
-extern inline void copy_key (void * to, void * from);
extern inline void copy_short_key (void * to, void * from);
extern inline void copy_item_head(void * p_v_to, void * p_v_from);

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