more gcc3.4 inline fixes [10/10]
Subsystems (4)
PATCH 1/1 more gcc3.4 inline fixes [10/10]
net/appletalk/ddp.c renamed from net/appletalk/ddp.c~ +2 -2
@@ -106,8 +106,8 @@#endif /* APPLETALK_DEBUG */ #ifdef CONFIG_SYSCTL -extern inline void atalk_register_sysctl (void ); -extern inline void atalk_unregister_sysctl (void ); +extern void atalk_register_sysctl (void ); +extern void atalk_unregister_sysctl (void );#endif /* CONFIG_SYSCTL */ struct datalink_proto *ddp_dl, *aarp_dl;
net/atm/lec.c renamed from net/atm/lec.c~ +4 -4
@@ -71,9 +71,9 @@static int lec_close (struct net_device *dev);static struct net_device_stats *lec_get_stats (struct net_device *dev);static void lec_init (struct net_device *dev); -static inline struct lec_arp_table *lec_arp_find (struct lec_priv *priv, +static struct lec_arp_table *lec_arp_find (struct lec_priv *priv,unsigned char *mac_addr); -static inline int lec_arp_remove (struct lec_priv *priv, +static int lec_arp_remove (struct lec_priv *priv,struct lec_arp_table *to_remove);/* LANE2 functions */ static void lane2_associate_ind (struct net_device *dev, u8 *mac_address,
@@ -1137,7 +1137,7 @@/* * Remove entry from lec_arp_table */ -static inline int +static int lec_arp_remove (struct lec_priv *priv,struct lec_arp_table *to_remove) {
@@ -1424,7 +1424,7 @@/* * Find entry by mac_address */ -static inline struct lec_arp_table * +static struct lec_arp_table *lec_arp_find (struct lec_priv *priv,unsigned char *mac_addr) {
net/bluetooth/l2cap.c renamed from net/bluetooth/l2cap.c~ +9 -9
@@ -70,7 +70,7 @@static int l2cap_conn_del (struct hci_conn *conn,int err); -static inline void l2cap_chan_add (struct l2cap_conn *conn,struct sock *sk,struct sock *parent); +static void __l2cap_chan_add (struct l2cap_conn *conn,struct sock *sk,struct sock *parent);static void l2cap_chan_del (struct sock *sk,int err);static int l2cap_chan_send (struct sock *sk,struct msghdr *msg,int len);
@@ -420,6 +420,14 @@return err; } +static inline void l2cap_chan_add (struct l2cap_conn *conn,struct sock *sk,struct sock *parent) +{ +struct l2cap_chan_list *l = &conn->chan_list; +write_lock (&l->lock); +__l2cap_chan_add (conn, sk, parent); +write_unlock (&l->lock); +} +static int l2cap_do_connect (struct sock *sk) {bdaddr_t *src = &bluez_pi (sk)->src;
@@ -897,14 +905,6 @@bluez_accept_enqueue (parent, sk); } -static inline void l2cap_chan_add (struct l2cap_conn *conn,struct sock *sk,struct sock *parent) -{ -struct l2cap_chan_list *l = &conn->chan_list; -write_lock (&l->lock); -__l2cap_chan_add (conn, sk, parent); -write_unlock (&l->lock); -} -/* Delete channel. * Must be called on the locked socket. */ static void l2cap_chan_del (struct sock *sk,int err)
net/bluetooth/sco.c renamed from net/bluetooth/sco.c~ +24 -25
74 lines not on this page · raw message
net/ipv4/netfilter/ip_nat_snmp_basic.c renamed from net/ipv4/netfilter/ip_nat_snmp_basic.c~ +71 -71
154 lines not on this page · raw message
include/net/irda/timer.h renamed from include/net/irda/timer.h~ +9 -9
@@ -72,21 +72,21 @@void irda_start_timer (struct timer_list *ptimer,int timeout,void * data,TIMER_CALLBACK callback); -inline void irlap_start_slot_timer (struct irlap_cb *self,int timeout); -inline void irlap_start_query_timer (struct irlap_cb *self,int timeout); -inline void irlap_start_final_timer (struct irlap_cb *self,int timeout); -inline void irlap_start_wd_timer (struct irlap_cb *self,int timeout); -inline void irlap_start_backoff_timer (struct irlap_cb *self,int timeout); +void irlap_start_slot_timer (struct irlap_cb *self,int timeout); +void irlap_start_query_timer (struct irlap_cb *self,int timeout); +void irlap_start_final_timer (struct irlap_cb *self,int timeout); +void irlap_start_wd_timer (struct irlap_cb *self,int timeout); +void irlap_start_backoff_timer (struct irlap_cb *self,int timeout);void irlap_start_mbusy_timer (struct irlap_cb *self,int timeout);void irlap_stop_mbusy_timer (struct irlap_cb *);struct lsap_cb ;struct lap_cb ; -inline void irlmp_start_watchdog_timer (struct lsap_cb *,int timeout); -inline void irlmp_start_discovery_timer (struct irlmp_cb *,int timeout); -inline void irlmp_start_idle_timer (struct lap_cb *,int timeout); -inline void irlmp_stop_idle_timer (struct lap_cb *self); +void irlmp_start_watchdog_timer (struct lsap_cb *,int timeout); +void irlmp_start_discovery_timer (struct irlmp_cb *,int timeout); +void irlmp_start_idle_timer (struct lap_cb *,int timeout); +void irlmp_stop_idle_timer (struct lap_cb *self);#endif
include/net/irda/irlmp_frame.h renamed from include/net/irda/irlmp_frame.h~ +1 -1
@@ -40,7 +40,7 @@#define CONTROL_BIT 0x80 -inline void irlmp_send_data_pdu (struct lap_cb *self,__u8 dlsap,__u8 slsap, +void irlmp_send_data_pdu (struct lap_cb *self,__u8 dlsap,__u8 slsap,int expedited,struct sk_buff *skb);void irlmp_send_lcf_pdu (struct lap_cb *self,__u8 dlsap,__u8 slsap,__u8 opcode,struct sk_buff *skb);
net/irda/wrapper.c renamed from net/irda/wrapper.c~ +26 -28
72 lines not on this page · raw message