log: removed unused logging wrappers

Removed GLib logging wrappers which are not used anymore.
This commit is contained in:
Max Kellermann 2008-12-29 17:35:42 +01:00
parent 91be85a307
commit 6517126204
2 changed files with 0 additions and 8 deletions

View File

@ -282,10 +282,6 @@ G_GNUC_PRINTF(1, 2) void func(const char *fmt, ...) \
} \
}
log_func(ERROR, G_LOG_LEVEL_WARNING)
log_func(WARNING, G_LOG_LEVEL_WARNING)
log_func(LOG, G_LOG_LEVEL_MESSAGE)
log_func(SECURE, LOG_LEVEL_SECURE)
log_func(DEBUG, G_LOG_LEVEL_DEBUG)
#undef log_func

View File

@ -22,11 +22,7 @@
#include <glib.h>
#include <stdbool.h>
G_GNUC_PRINTF(1, 2) void ERROR(const char *fmt, ...);
G_GNUC_PRINTF(1, 2) void LOG(const char *fmt, ...);
G_GNUC_PRINTF(1, 2) void SECURE(const char *fmt, ...);
G_GNUC_PRINTF(1, 2) void DEBUG(const char *fmt, ...);
G_GNUC_PRINTF(1, 2) void WARNING(const char *fmt, ...);
G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN void FATAL(const char *fmt, ...);
void log_init(bool verbose, bool use_stdout);