diff options
author | Jesper Juhl <juhl@dif.dk> | 2005-07-27 14:46:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:20 -0400 |
commit | 77933d7276ee8fa0e2947641941a6f7a100a327b (patch) | |
tree | e3a42724642410f5257c794a71b34642092eedd5 /drivers/net/wireless | |
parent | 03e259a9cdbd0583e71468293aaa1ccadbdaeff1 (diff) |
[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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/airo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 47f3c5d0203d..df20adcd0730 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -5013,7 +5013,7 @@ static void proc_SSID_on_close( struct inode *inode, struct file *file ) { | |||
5013 | enable_MAC(ai, &rsp, 1); | 5013 | enable_MAC(ai, &rsp, 1); |
5014 | } | 5014 | } |
5015 | 5015 | ||
5016 | inline static u8 hexVal(char c) { | 5016 | static inline u8 hexVal(char c) { |
5017 | if (c>='0' && c<='9') return c -= '0'; | 5017 | if (c>='0' && c<='9') return c -= '0'; |
5018 | if (c>='a' && c<='f') return c -= 'a'-10; | 5018 | if (c>='a' && c<='f') return c -= 'a'-10; |
5019 | if (c>='A' && c<='F') return c -= 'A'-10; | 5019 | if (c>='A' && c<='F') return c -= 'A'-10; |