aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.h
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-12-02 02:42:19 +0100
committerThomas Jansen <mithi@mithi.net>2008-12-02 02:42:19 +0100
commite6ae40982e89053a4326058e726422ef7602bd1a (patch)
tree537da7d160e6946803479e383f67b36388c7e53b /src/log.h
parentc252143d5147e541a42bf7bb2530e12c62962576 (diff)
downloadmpd-e6ae40982e89053a4326058e726422ef7602bd1a.tar.gz
mpd-e6ae40982e89053a4326058e726422ef7602bd1a.tar.xz
mpd-e6ae40982e89053a4326058e726422ef7602bd1a.zip
replaced mpd_noreturn by G_GNUC_NORETURN
We want to remove gcc.h eventually. This takes care of all the G_GNUC_NORETURN macros.
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/log.h b/src/log.h
index 23e6d30be..436d54d97 100644
--- a/src/log.h
+++ b/src/log.h
@@ -21,6 +21,7 @@
#include "gcc.h"
+#include <glib.h>
#include <stdbool.h>
mpd_printf void ERROR(const char *fmt, ...);
@@ -28,7 +29,7 @@ mpd_printf void LOG(const char *fmt, ...);
mpd_printf void SECURE(const char *fmt, ...);
mpd_printf void DEBUG(const char *fmt, ...);
mpd_printf void WARNING(const char *fmt, ...);
-mpd_printf mpd_noreturn void FATAL(const char *fmt, ...);
+mpd_printf G_GNUC_NORETURN void FATAL(const char *fmt, ...);
void initLog(bool verbose);