84
85 #ifdef DEBUG
86 #define RDS_DPRINTF_INTR rds_dprintf_intr
87 #define RDS_DPRINTF5 rds_dprintf5
88 #define RDS_DPRINTF4 rds_dprintf4
89 #define RDS_DPRINTF3 rds_dprintf3
90
91 void rds_dprintf_intr(
92 char *name,
93 char *fmt, ...);
94 void rds_dprintf5(
95 char *name,
96 char *fmt, ...);
97 void rds_dprintf4(
98 char *name,
99 char *fmt, ...);
100 void rds_dprintf3(
101 char *name,
102 char *fmt, ...);
103 #else
104 #define RDS_DPRINTF_INTR(...)
105 #define RDS_DPRINTF5(...)
106 #define RDS_DPRINTF4(...)
107 #define RDS_DPRINTF3(...)
108 #endif
109
110 #define RDS_DPRINTF2 rds_dprintf2
111 #define RDS_DPRINTF1 rds_dprintf1
112 #define RDS_DPRINTF0 rds_dprintf0
113
114 void rds_dprintf2(
115 char *name,
116 char *fmt, ...);
117 void rds_dprintf1(
118 char *name,
119 char *fmt, ...);
120 void rds_dprintf0(
121 char *name,
122 char *fmt, ...);
123
124 #ifdef __cplusplus
125 }
126 #endif
127
|
84
85 #ifdef DEBUG
86 #define RDS_DPRINTF_INTR rds_dprintf_intr
87 #define RDS_DPRINTF5 rds_dprintf5
88 #define RDS_DPRINTF4 rds_dprintf4
89 #define RDS_DPRINTF3 rds_dprintf3
90
91 void rds_dprintf_intr(
92 char *name,
93 char *fmt, ...);
94 void rds_dprintf5(
95 char *name,
96 char *fmt, ...);
97 void rds_dprintf4(
98 char *name,
99 char *fmt, ...);
100 void rds_dprintf3(
101 char *name,
102 char *fmt, ...);
103 #else
104 #define RDS_DPRINTF_INTR(...) (void)(0)
105 #define RDS_DPRINTF5(...) (void)(0)
106 #define RDS_DPRINTF4(...) (void)(0)
107 #define RDS_DPRINTF3(...) (void)(0)
108 #endif
109
110 #define RDS_DPRINTF2 rds_dprintf2
111 #define RDS_DPRINTF1 rds_dprintf1
112 #define RDS_DPRINTF0 rds_dprintf0
113
114 void rds_dprintf2(
115 char *name,
116 char *fmt, ...);
117 void rds_dprintf1(
118 char *name,
119 char *fmt, ...);
120 void rds_dprintf0(
121 char *name,
122 char *fmt, ...);
123
124 #ifdef __cplusplus
125 }
126 #endif
127
|