aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-29 17:35:42 +0100
committerMax Kellermann <max@duempel.org>2008-12-29 17:35:42 +0100
commit6517126204f8eef363a65868ab97473916bd167e (patch)
treedf212010fbf4166180fbce05083371295f5f8257
parent91be85a3076fe934f9faf7fb3c9e635a394ccfe7 (diff)
downloadmpd-6517126204f8eef363a65868ab97473916bd167e.tar.gz
mpd-6517126204f8eef363a65868ab97473916bd167e.tar.xz
mpd-6517126204f8eef363a65868ab97473916bd167e.zip
log: removed unused logging wrappers
Removed GLib logging wrappers which are not used anymore.
-rw-r--r--src/log.c4
-rw-r--r--src/log.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/log.c b/src/log.c
index 394ca46e3..5f5ae0541 100644
--- a/src/log.c
+++ b/src/log.c
@@ -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
diff --git a/src/log.h b/src/log.h
index 462baa066..5903b18ab 100644
--- a/src/log.h
+++ b/src/log.h
@@ -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);