patch-2.4.5 linux/include/net/irda/irda.h
Next file: linux/include/net/protocol.h
Previous file: linux/include/net/irda/irda-usb.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri May 25 18:02:51 2001
- Orig file:
v2.4.4/linux/include/net/irda/irda.h
- Orig date:
Fri Apr 27 15:48:59 2001
diff -u --recursive --new-file v2.4.4/linux/include/net/irda/irda.h linux/include/net/irda/irda.h
@@ -71,7 +71,9 @@
func }
#else
#define IRDA_DEBUG(n, args...)
-#define ASSERT(expr, func)
+#define ASSERT(expr, func) \
+if(!(expr)) do { \
+ func } while (0)
#endif /* CONFIG_IRDA_DEBUG */
#define WARNING(args...) printk(KERN_WARNING args)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)