diff --git a/include/os.h b/include/os.h index 44faf2d7a..ba39cb95b 100644 --- a/include/os.h +++ b/include/os.h @@ -280,13 +280,6 @@ extern _X_EXPORT int timingsafe_memcmp(const void *b1, const void *b2, size_t len); #endif -/* Logging. */ -typedef enum _LogParameter { - XLOG_SYNC, - XLOG_VERBOSITY, - XLOG_FILE_VERBOSITY -} LogParameter; - /* Flags for log messages. */ typedef enum { X_PROBED, /* Value was probed */ @@ -309,8 +302,6 @@ extern void LogSetDisplay(void); extern _X_EXPORT void LogClose(enum ExitCode error); -extern _X_EXPORT Bool -LogSetParameter(LogParameter param, int value); extern _X_EXPORT void LogVMessageVerb(MessageType type, int verb, const char *format, va_list args) _X_ATTRIBUTE_PRINTF(3, 0); diff --git a/os/log.c b/os/log.c index 541f96f7f..939526fd7 100644 --- a/os/log.c +++ b/os/log.c @@ -310,24 +310,6 @@ LogClose(enum ExitCode error) } } -Bool -LogSetParameter(LogParameter param, int value) -{ - switch (param) { - case XLOG_SYNC: - logSync = value ? TRUE : FALSE; - return TRUE; - case XLOG_VERBOSITY: - logVerbosity = value; - return TRUE; - case XLOG_FILE_VERBOSITY: - logFileVerbosity = value; - return TRUE; - default: - return FALSE; - } -} - enum { LMOD_LONG = 0x1, LMOD_LONGLONG = 0x2,