diff --git a/include/os.h b/include/os.h index 6238f9b362..6253479cbd 100644 --- a/include/os.h +++ b/include/os.h @@ -257,13 +257,6 @@ extern _X_EXPORT void LogMessage(MessageType type, const char *format, ...) _X_ATTRIBUTE_PRINTF(2, 3); -extern _X_EXPORT void -LogHdrMessageVerb(MessageType type, int verb, - const char *msg_format, va_list msg_args, - const char *hdr_format, ...) -_X_ATTRIBUTE_PRINTF(3, 0) -_X_ATTRIBUTE_PRINTF(5, 6); - extern _X_EXPORT void FatalError(const char *f, ...) _X_ATTRIBUTE_PRINTF(1, 2) diff --git a/os/log_priv.h b/os/log_priv.h index 0042f02482..8eed24036e 100644 --- a/os/log_priv.h +++ b/os/log_priv.h @@ -94,4 +94,10 @@ extern const char *xorgSyslogIdent; */ void LogPrintMarkers(void); +void LogHdrMessageVerb(MessageType type, int verb, + const char *msg_format, va_list msg_args, + const char *hdr_format, ...) + _X_ATTRIBUTE_PRINTF(3, 0) + _X_ATTRIBUTE_PRINTF(5, 6); + #endif /* __XORG_OS_LOGGING_H */