mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
DEVEL15-tweak-vicelog-macros-20081218
LICENSE IPL10 deal with macro semicolon confusion for vicelog (cherry picked from commit 12297b95885d030e5cae6bec2543bdeb3e65b5ee)
This commit is contained in:
parent
95e5fb1ebe
commit
7240f57058
@ -43,8 +43,8 @@ extern void vFSLog(const char *format, va_list args);
|
||||
extern void SetLogThreadNumProgram(int (*func) (void) );
|
||||
|
||||
/*@printflike@*/ extern void FSLog(const char *format, ...);
|
||||
#define ViceLog(level, str) if ((level) <= LogLevel) (FSLog str)
|
||||
#define vViceLog(level, str) if ((level) <= LogLevel) (vFSLog str)
|
||||
#define ViceLog(level, str) do { if ((level) <= LogLevel) (FSLog str) } while (0)
|
||||
#define vViceLog(level, str) do { if ((level) <= LogLevel) (vFSLog str) } while (0)
|
||||
|
||||
extern int OpenLog(const char *filename);
|
||||
extern int ReOpenLog(const char *fileName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user