Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6102 → Rev 6936

/drivers/include/linux/printk.h
68,14 → 68,16
 
/*
* Dummy printk for disabled debugging statements to use whilst maintaining
* gcc's format and side-effect checking.
* gcc's format checking.
*/
static inline __printf(1, 2)
int no_printk(const char *fmt, ...)
{
return 0;
}
#define no_printk(fmt, ...) \
do { \
if (0) \
printk(fmt, ##__VA_ARGS__); \
} while (0)
 
 
 
__printf(1, 2) int dbgprintf(const char *fmt, ...);
 
#define printk(fmt, arg...) dbgprintf(fmt , ##arg)