patch-2.3.35 linux/include/net/irda/ircomm_core.h

Next file: linux/include/net/irda/ircomm_tty.h
Previous file: linux/include/net/br.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.34/linux/include/net/irda/ircomm_core.h linux/include/net/irda/ircomm_core.h
@@ -6,7 +6,7 @@
  * Status:        Experimental.
  * Author:        Dag Brattli <dagb@cs.uit.no>
  * Created at:    Wed Jun  9 08:58:43 1999
- * Modified at:   Tue Oct  5 09:13:50 1999
+ * Modified at:   Mon Dec 13 11:52:29 1999
  * Modified by:   Dag Brattli <dagb@cs.uit.no>
  * 
  *     Copyright (c) 1999 Dag Brattli, All Rights Reserved.
@@ -102,9 +102,6 @@
 				  struct ircomm_info *info);
 void ircomm_flow_request(struct ircomm_cb *self, LOCAL_FLOW flow);
 
-extern inline int ircomm_is_connected(struct ircomm_cb *self)
-{
-	return self->state == IRCOMM_CONN;
-}
+#define ircomm_is_connected(self) (self->state == IRCOMM_CONN)
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)