]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/irda/irnet/irnet.h
net: replace remaining __FUNCTION__ occurrences
[net-next-2.6.git] / net / irda / irnet / irnet.h
index bc2e15ce7004e59650a4ad4a3980ace5b101ff1f..a00e422c822ed1c6444ca47f4a351e075c46db29 100644 (file)
 /* All error messages (will show up in the normal logs) */
 #define DERROR(dbg, format, args...) \
        {if(DEBUG_##dbg) \
-               printk(KERN_INFO "irnet: %s(): " format, __FUNCTION__ , ##args);}
+               printk(KERN_INFO "irnet: %s(): " format, __func__ , ##args);}
 
 /* Normal debug message (will show up in /var/log/debug) */
 #define DEBUG(dbg, format, args...) \
        {if(DEBUG_##dbg) \
-               printk(KERN_DEBUG "irnet: %s(): " format, __FUNCTION__ , ##args);}
+               printk(KERN_DEBUG "irnet: %s(): " format, __func__ , ##args);}
 
 /* Entering a function (trace) */
 #define DENTER(dbg, format, args...) \
        {if(DEBUG_##dbg) \
-               printk(KERN_DEBUG "irnet: -> %s" format, __FUNCTION__ , ##args);}
+               printk(KERN_DEBUG "irnet: -> %s" format, __func__ , ##args);}
 
 /* Entering and exiting a function in one go (trace) */
 #define DPASS(dbg, format, args...) \
        {if(DEBUG_##dbg) \
-               printk(KERN_DEBUG "irnet: <>%s" format, __FUNCTION__ , ##args);}
+               printk(KERN_DEBUG "irnet: <>%s" format, __func__ , ##args);}
 
 /* Exiting a function (trace) */
 #define DEXIT(dbg, format, args...) \
        {if(DEBUG_##dbg) \
-               printk(KERN_DEBUG "irnet: <-%s()" format, __FUNCTION__ , ##args);}
+               printk(KERN_DEBUG "irnet: <-%s()" format, __func__ , ##args);}
 
 /* Exit a function with debug */
 #define DRETURN(ret, dbg, args...) \