replace __inline__ by inline in net/llc
Signed-off-by: Daniel Lezcano <[EMAIL PROTECTED]>
---
net/llc/llc_input.c | 2 +-
net/llc/llc_station.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
Index: net-2.6/net/llc/llc_input.c
===================================================================
--- net-2.6.orig/net/llc/llc_input.c
+++ net-2.6/net/llc/llc_input.c
@@ -61,7 +61,7 @@ void llc_set_station_handler(void (*hand
*
* This function returns which LLC component must handle this PDU.
*/
-static __inline__ int llc_pdu_type(struct sk_buff *skb)
+static inline int llc_pdu_type(struct sk_buff *skb)
{
int type = LLC_DEST_CONN; /* I-PDU or S-PDU type */
struct llc_pdu_sn *pdu = llc_pdu_sn_hdr(skb);
Index: net-2.6/net/llc/llc_station.c
===================================================================
--- net-2.6.orig/net/llc/llc_station.c
+++ net-2.6/net/llc/llc_station.c
@@ -80,8 +80,7 @@ struct llc_station_state_ev {
struct list_head node; /* node in station->ev_q.list */
};
-static __inline__ struct llc_station_state_ev *
- llc_station_ev(struct sk_buff *skb)
+static inline struct llc_station_state_ev *llc_station_ev(struct sk_buff *skb)
{
return (struct llc_station_state_ev *)skb->cb;
}
--
--
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