aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);