[PATCH] clean up inline static vs static inline
`gcc -W' likes to complain if the static keyword is not at the beginning of the declaration. This patch fixes all remaining occurrences of "inline static" up with "static inline" in the entire kernel tree (140 occurrences in 47 files). While making this change I came across a few lines with trailing whitespace that I also fixed up, I have also added or removed a blank line or two here and there, but there are no functional changes in the patch. Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
03e259a9cd
commit
77933d7276
@@ -556,14 +556,14 @@ static inline void insert_journal_hash(struct reiserfs_journal_cnode **table,
|
||||
}
|
||||
|
||||
/* lock the current transaction */
|
||||
inline static void lock_journal(struct super_block *p_s_sb)
|
||||
static inline void lock_journal(struct super_block *p_s_sb)
|
||||
{
|
||||
PROC_INFO_INC(p_s_sb, journal.lock_journal);
|
||||
down(&SB_JOURNAL(p_s_sb)->j_lock);
|
||||
}
|
||||
|
||||
/* unlock the current transaction */
|
||||
inline static void unlock_journal(struct super_block *p_s_sb)
|
||||
static inline void unlock_journal(struct super_block *p_s_sb)
|
||||
{
|
||||
up(&SB_JOURNAL(p_s_sb)->j_lock);
|
||||
}
|
||||
|
Reference in New Issue
Block a user