replace __inline__ by inline in net/appletalk
Signed-off-by: Daniel Lezcano <[EMAIL PROTECTED]>
---
net/appletalk/atalk_proc.c | 6 +++---
net/appletalk/ddp.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
Index: net-2.6/net/appletalk/atalk_proc.c
===================================================================
--- net-2.6.orig/net/appletalk/atalk_proc.c
+++ net-2.6/net/appletalk/atalk_proc.c
@@ -16,7 +16,7 @@
#include <linux/atalk.h>
-static __inline__ struct atalk_iface *atalk_get_interface_idx(loff_t pos)
+static inline struct atalk_iface *atalk_get_interface_idx(loff_t pos)
{
struct atalk_iface *i;
@@ -77,7 +77,7 @@ out:
return 0;
}
-static __inline__ struct atalk_route *atalk_get_route_idx(loff_t pos)
+static inline struct atalk_route *atalk_get_route_idx(loff_t pos)
{
struct atalk_route *r;
@@ -144,7 +144,7 @@ out:
return 0;
}
-static __inline__ struct sock *atalk_get_socket_idx(loff_t pos)
+static inline struct sock *atalk_get_socket_idx(loff_t pos)
{
struct sock *s;
struct hlist_node *node;
Index: net-2.6/net/appletalk/ddp.c
===================================================================
--- net-2.6.orig/net/appletalk/ddp.c
+++ net-2.6/net/appletalk/ddp.c
@@ -1265,7 +1265,7 @@ static int atalk_getname(struct socket *
}
#if defined(CONFIG_IPDDP) || defined(CONFIG_IPDDP_MODULE)
-static __inline__ int is_ip_over_ddp(struct sk_buff *skb)
+static inline int is_ip_over_ddp(struct sk_buff *skb)
{
return skb->data[12] == 22;
}
--
--
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