reiserfsprogs: fix issues with inline functions
There are several cases in which inline functions are declared in header files. This causes warnings with newer versions of gcc. This patch converts them to static inlines. Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
1 parent
d5571fa1db
commit
df843a34a6
5 files changed
+45
-60
No files matched your search
+1
-1
@@ -387,7 +387,7 @@ static int bad_direct_item(reiserfs_filsys_t fs,
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline void handle_one_pointer(reiserfs_filsys_t fs,
|
||||
static inline void handle_one_pointer(reiserfs_filsys_t fs,
|
||||
struct buffer_head *bh, __le32 * item,
|
||||
int offset)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user