Print this page
10805 Fix for 10687 can be improved


 116 
 117 #ifdef DEBUG
 118 #define IBTF_DPRINTF_LINTR      ibtl_dprintf_intr
 119 #define IBTF_DPRINTF_L5         ibtl_dprintf5
 120 #define IBTF_DPRINTF_L4         ibtl_dprintf4
 121 #define IBTF_DPRINTF_L3         ibtl_dprintf3
 122 
 123 void ibtl_dprintf_intr(
 124                 char            *name,
 125                 char            *fmt, ...);
 126 void ibtl_dprintf5(
 127                 char            *name,
 128                 char            *fmt, ...);
 129 void ibtl_dprintf4(
 130                 char            *name,
 131                 char            *fmt, ...);
 132 void ibtl_dprintf3(
 133                 char            *name,
 134                 char            *fmt, ...);
 135 #else
 136 #define IBTF_DPRINTF_LINTR(...)
 137 #define IBTF_DPRINTF_L5(...)
 138 #define IBTF_DPRINTF_L4(...)
 139 #define IBTF_DPRINTF_L3(...)
 140 #endif
 141 
 142 #define IBTF_DPRINTF_L2 ibtl_dprintf2
 143 #define IBTF_DPRINTF_L1 ibtl_dprintf1
 144 #define IBTF_DPRINTF_L0 ibtl_dprintf0
 145 
 146 void ibtl_dprintf2(
 147                 char            *name,
 148                 char            *fmt, ...);
 149 void ibtl_dprintf1(
 150                 char            *name,
 151                 char            *fmt, ...);
 152 void ibtl_dprintf0(
 153                 char            *name,
 154                 char            *fmt, ...);
 155 
 156 #ifdef __cplusplus
 157 }
 158 #endif
 159 


 116 
 117 #ifdef DEBUG
 118 #define IBTF_DPRINTF_LINTR      ibtl_dprintf_intr
 119 #define IBTF_DPRINTF_L5         ibtl_dprintf5
 120 #define IBTF_DPRINTF_L4         ibtl_dprintf4
 121 #define IBTF_DPRINTF_L3         ibtl_dprintf3
 122 
 123 void ibtl_dprintf_intr(
 124                 char            *name,
 125                 char            *fmt, ...);
 126 void ibtl_dprintf5(
 127                 char            *name,
 128                 char            *fmt, ...);
 129 void ibtl_dprintf4(
 130                 char            *name,
 131                 char            *fmt, ...);
 132 void ibtl_dprintf3(
 133                 char            *name,
 134                 char            *fmt, ...);
 135 #else
 136 #define IBTF_DPRINTF_LINTR(...) (void)(0)
 137 #define IBTF_DPRINTF_L5(...)    (void)(0)
 138 #define IBTF_DPRINTF_L4(...)    (void)(0)
 139 #define IBTF_DPRINTF_L3(...)    (void)(0)
 140 #endif
 141 
 142 #define IBTF_DPRINTF_L2 ibtl_dprintf2
 143 #define IBTF_DPRINTF_L1 ibtl_dprintf1
 144 #define IBTF_DPRINTF_L0 ibtl_dprintf0
 145 
 146 void ibtl_dprintf2(
 147                 char            *name,
 148                 char            *fmt, ...);
 149 void ibtl_dprintf1(
 150                 char            *name,
 151                 char            *fmt, ...);
 152 void ibtl_dprintf0(
 153                 char            *name,
 154                 char            *fmt, ...);
 155 
 156 #ifdef __cplusplus
 157 }
 158 #endif
 159