Skip to contentSkip to conversation

: reiserfs: E-extern-inline-copy_key.patch

PATCH New Nikita Danilov 1 participant 1 message Aug 2, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : reiserfs: E-extern-inline-copy_key.patch

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.

include/linux/reiserfs_fs.h +0 -1
diff -rup linux-2.4.8-pre3/include/linux/reiserfs_fs.h linux-2.4.8-pre3.patched/include/linux/reiserfs_fs.h
@@ -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);