replace __inline__ by inline in net/key
Signed-off-by: Daniel Lezcano <[EMAIL PROTECTED]>
---
net/key/af_key.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: net-2.6/net/key/af_key.c
===================================================================
--- net-2.6.orig/net/key/af_key.c
+++ net-2.6/net/key/af_key.c
@@ -92,13 +92,13 @@ static void pfkey_table_grab(void)
}
}
-static __inline__ void pfkey_table_ungrab(void)
+static inline void pfkey_table_ungrab(void)
{
write_unlock_bh(&pfkey_table_lock);
wake_up(&pfkey_table_wait);
}
-static __inline__ void pfkey_lock_table(void)
+static inline void pfkey_lock_table(void)
{
/* read_lock() synchronizes us to pfkey_table_grab */
@@ -107,7 +107,7 @@ static __inline__ void pfkey_lock_table(
read_unlock(&pfkey_table_lock);
}
-static __inline__ void pfkey_unlock_table(void)
+static inline void pfkey_unlock_table(void)
{
if (atomic_dec_and_test(&pfkey_table_users))
wake_up(&pfkey_table_wait);
--
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html