mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
(!1683) os: replace LogVWrite() by LogVMessageVerb()
It's just a wrapper around LogVMessageVerb() and no external module using it, so can easily be optimized-away. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
8
os/log.c
8
os/log.c
@@ -654,12 +654,6 @@ LogSWrite(int verb, const char *buf, size_t len, Bool end_line)
|
||||
(void) ret;
|
||||
}
|
||||
|
||||
void
|
||||
LogVWrite(int verb, const char *f, va_list args)
|
||||
{
|
||||
return LogVMessageVerb(X_NONE, verb, f, args);
|
||||
}
|
||||
|
||||
/* Returns the Message Type string to prepend to a logging message, or NULL
|
||||
* if the message will be dropped due to insufficient verbosity. */
|
||||
static const char *
|
||||
@@ -1028,7 +1022,7 @@ VErrorF(const char *f, va_list args)
|
||||
if (OsVendorVErrorFProc)
|
||||
OsVendorVErrorFProc(f, args);
|
||||
else
|
||||
LogVWrite(-1, f, args);
|
||||
LogVMessageVerb(X_NONE, -1, f, args);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user