[PATCH] fix "extern inline"

From: Yoshinori Sato
Date: Wed Nov 10 2004 - 00:02:29 EST


Signed-off-by: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>

===== include/linux/bitops.h 1.6 vs edited =====
--- 1.6/include/linux/bitops.h 2004-05-03 05:04:34 +09:00
+++ edited/include/linux/bitops.h 2004-11-08 15:36:48 +09:00
@@ -42,7 +42,7 @@
* fls: find last bit set.
*/

-extern __inline__ int generic_fls(int x)
+static __inline__ int generic_fls(int x)
{
int r = 32;

@@ -71,7 +71,7 @@
return r;
}

-extern __inline__ int get_bitmask_order(unsigned int count)
+static __inline__ int get_bitmask_order(unsigned int count)
{
int order;

--
Yoshinori Sato
<ysato@xxxxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/