replace __inline__ by inline in net/ipx

Signed-off-by: Daniel Lezcano <[EMAIL PROTECTED]>
---
 net/ipx/af_ipx.c   |    2 +-
 net/ipx/ipx_proc.c |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

Index: net-2.6/net/ipx/af_ipx.c
===================================================================
--- net-2.6.orig/net/ipx/af_ipx.c
+++ net-2.6/net/ipx/af_ipx.c
@@ -323,7 +323,7 @@ void ipxitf_down(struct ipx_interface *i
        spin_unlock_bh(&ipx_interfaces_lock);
 }
 
-static __inline__ void __ipxitf_put(struct ipx_interface *intrfc)
+static inline void __ipxitf_put(struct ipx_interface *intrfc)
 {
        if (atomic_dec_and_test(&intrfc->refcnt))
                __ipxitf_down(intrfc);
Index: net-2.6/net/ipx/ipx_proc.c
===================================================================
--- net-2.6.orig/net/ipx/ipx_proc.c
+++ net-2.6/net/ipx/ipx_proc.c
@@ -13,7 +13,7 @@
 #include <net/tcp_states.h>
 #include <net/ipx.h>
 
-static __inline__ struct ipx_interface *ipx_get_interface_idx(loff_t pos)
+static inline struct ipx_interface *ipx_get_interface_idx(loff_t pos)
 {
        struct ipx_interface *i;
 
@@ -107,7 +107,7 @@ static struct ipx_route *ipx_routes_next
        return rc;
 }
 
-static __inline__ struct ipx_route *ipx_get_route_idx(loff_t pos)
+static inline struct ipx_route *ipx_get_route_idx(loff_t pos)
 {
        struct ipx_route *r;
 
@@ -165,7 +165,7 @@ out:
        return 0;
 }
 
-static __inline__ struct sock *ipx_get_socket_idx(loff_t pos)
+static inline struct sock *ipx_get_socket_idx(loff_t pos)
 {
        struct sock *s = NULL;
        struct hlist_node *node;

-- 
--
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

Reply via email to