bin/pc: Mark non-returning function as void
[haiku.git] / src / add-ons / print / transports / shared / DbgMsg.h
blob85bde9af43d21173255214b9365b6e9fffe194b2
1 // Sun, 18 Jun 2000
2 // Y.Takagi
4 #ifndef __DBGMSG_H
5 #define __DBGMSG_H
7 #ifdef _DEBUG
8 void write_debug_stream(const char *, ...);
9 void DUMP_BFILE(BFile *file, const char *name);
10 void DUMP_BMESSAGE(BMessage *msg);
11 void DUMP_BDIRECTORY(BDirectory *dir);
12 #define DBGMSG(args) write_debug_stream args
13 #else
14 #define DUMP_BFILE(file, name) (void)0
15 #define DUMP_BMESSAGE(msg) (void)0
16 #define DUMP_BDIRECTORY(dir) (void)0
17 #define DBGMSG(args) (void)0
18 #endif
20 #endif /* __DBGMSG_H */