mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
os: log: replace VErrorFSigSafe() by VErrorF()
Since VErrorF() is now signal safe, we can use this one instead. Leaving VErrorFSigSafe() macro for backwards compat with drivers. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1691>
This commit is contained in:
committed by
Marge Bot
parent
2d18c353b4
commit
da22bc9ae0
@@ -395,9 +395,6 @@ extern _X_EXPORT void
|
||||
ErrorF(const char *f, ...)
|
||||
_X_ATTRIBUTE_PRINTF(1, 2);
|
||||
extern _X_EXPORT void
|
||||
VErrorFSigSafe(const char *f, va_list args)
|
||||
_X_ATTRIBUTE_PRINTF(1, 0);
|
||||
extern _X_EXPORT void
|
||||
LogPrintMarkers(void);
|
||||
|
||||
extern _X_EXPORT void
|
||||
@@ -413,5 +410,6 @@ typedef _sigset_t sigset_t;
|
||||
#define LogVMessageVerbSigSafe(...) LogVMessageVerb(__VA_ARGS__)
|
||||
#define LogMessageVerbSigSafe(...) LogMessageVerb(__VA_ARGS__)
|
||||
#define ErrorFSigSafe(...) ErrorF(__VA_ARGS__)
|
||||
#define VErrorFSigSafe(...) VErrorF(__VA_ARGS__)
|
||||
|
||||
#endif /* OS_H */
|
||||
|
||||
Reference in New Issue
Block a user