Просмотр исходного кода

[PATCH] fs/udf/balloc.c: "extern inline" -> "static inline"

"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>
Adrian Bunk 19 лет назад
Родитель
Сommit
ddc0f846aa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      fs/udf/balloc.c

+ 1 - 1
fs/udf/balloc.c

@@ -41,7 +41,7 @@
 #define uint(x) xuint(x)
 #define uint(x) xuint(x)
 #define xuint(x) __le ## x
 #define xuint(x) __le ## x
 
 
-extern inline int find_next_one_bit (void * addr, int size, int offset)
+static inline int find_next_one_bit (void * addr, int size, int offset)
 {
 {
 	uintBPL_t * p = ((uintBPL_t *) addr) + (offset / BITS_PER_LONG);
 	uintBPL_t * p = ((uintBPL_t *) addr) + (offset / BITS_PER_LONG);
 	int result = offset & ~(BITS_PER_LONG-1);
 	int result = offset & ~(BITS_PER_LONG-1);