Subversion Repositories Kolibri OS

Rev

Rev 6102 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6102 Rev 6936
Line 66... Line 66...
66
 */
66
 */
67
#define DEPRECATED	"[Deprecated]: "
67
#define DEPRECATED	"[Deprecated]: "
Line 68... Line 68...
68
 
68
 
69
/*
69
/*
70
 * Dummy printk for disabled debugging statements to use whilst maintaining
70
 * Dummy printk for disabled debugging statements to use whilst maintaining
71
 * gcc's format and side-effect checking.
71
 * gcc's format checking.
72
 */
72
 */
-
 
73
#define no_printk(fmt, ...)			\
-
 
74
do {						\
73
static inline __printf(1, 2)
75
	if (0)					\
-
 
76
		printk(fmt, ##__VA_ARGS__);	\
74
int no_printk(const char *fmt, ...)
77
} while (0)
75
{
-
 
76
	return 0;
78
 
Line 77... Line 79...
77
}
79
 
Line 78... Line 80...
78
 
80