mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +00:00
include: add an X_DEBUG message type
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jamey Sharp <jamey@minilop.net>
This commit is contained in:
parent
61cb98da1c
commit
14e3ea730e
2 changed files with 6 additions and 0 deletions
5
os/log.c
5
os/log.c
|
|
@ -164,6 +164,9 @@ asm(".desc ___crashreporter_info__, 0x10");
|
|||
#ifndef X_NOT_IMPLEMENTED_STRING
|
||||
#define X_NOT_IMPLEMENTED_STRING "(NI)"
|
||||
#endif
|
||||
#ifndef X_DEBUG_STRING
|
||||
#define X_DEBUG_STRING "(DB)"
|
||||
#endif
|
||||
#ifndef X_NONE_STRING
|
||||
#define X_NONE_STRING ""
|
||||
#endif
|
||||
|
|
@ -362,6 +365,8 @@ LogMessageTypeVerbString(MessageType type, int verb)
|
|||
return X_UNKNOWN_STRING;
|
||||
case X_NONE:
|
||||
return X_NONE_STRING;
|
||||
case X_DEBUG:
|
||||
return X_DEBUG_STRING;
|
||||
default:
|
||||
return X_UNKNOWN_STRING;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue