projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2afe67
)
[PATCH] include/linux/blkdev.h: "extern inline" -> "static inline"
author
Adrian Bunk
<bunk@stusta.de>
Sat, 10 Sep 2005 07:27:17 +0000
(
00:27
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 10 Sep 2005 17:06:34 +0000
(10:06 -0700)
"extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/blkdev.h
patch
|
blob
|
history
diff --git
a/include/linux/blkdev.h
b/include/linux/blkdev.h
index aefa26fbae8add64ee373d9742523b534eaec7ce..efdc9b5bc05c8687380200f8a871975c91709860 100644
(file)
--- a/
include/linux/blkdev.h
+++ b/
include/linux/blkdev.h
@@
-728,7
+728,7
@@
static inline unsigned int blksize_bits(unsigned int size)
return bits;
}
-
extern
inline unsigned int block_size(struct block_device *bdev)
+
static
inline unsigned int block_size(struct block_device *bdev)
{
return bdev->bd_block_size;
}