lkml.org 
[lkml]   [2004]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] fix "extern inline"
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

===== 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@users.sourceforge.jp>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:07    [from the cache]
©2003-2011 Jasper Spaans