aboutsummaryrefslogtreecommitdiffstats
path: root/src/system
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-18 23:05:29 +0100
committerMax Kellermann <max@duempel.org>2014-02-18 23:05:40 +0100
commite8789d7cb9b6a539b2aa738fbe60816ee0410334 (patch)
treeb1a59703fcd1966d95c2e98bd45cd63b75160d11 /src/system
parent0053cd0d0d5a9b5ef54d604d2c650ee3803a04e5 (diff)
downloadmpd-e8789d7cb9b6a539b2aa738fbe60816ee0410334.tar.gz
mpd-e8789d7cb9b6a539b2aa738fbe60816ee0410334.tar.xz
mpd-e8789d7cb9b6a539b2aa738fbe60816ee0410334.zip
system/FatalError: remove GError support
Diffstat (limited to 'src/system')
-rw-r--r--src/system/FatalError.cxx10
-rw-r--r--src/system/FatalError.hxx7
2 files changed, 0 insertions, 17 deletions
diff --git a/src/system/FatalError.cxx b/src/system/FatalError.cxx
index cae6600dc..35e94f169 100644
--- a/src/system/FatalError.cxx
+++ b/src/system/FatalError.cxx
@@ -78,16 +78,6 @@ FatalError(const char *msg, const Error &error)
FormatFatalError("%s: %s", msg, error.GetMessage());
}
-#ifdef HAVE_GLIB
-
-void
-FatalError(const char *msg, GError *error)
-{
- FormatFatalError("%s: %s", msg, error->message);
-}
-
-#endif
-
void
FatalSystemError(const char *msg)
{
diff --git a/src/system/FatalError.hxx b/src/system/FatalError.hxx
index 8d5f73aa2..d4698b3d9 100644
--- a/src/system/FatalError.hxx
+++ b/src/system/FatalError.hxx
@@ -21,7 +21,6 @@
#define MPD_FATAL_ERROR_HXX
#include "check.h"
-#include "gerror.h"
#include "Compiler.h"
class Error;
@@ -45,12 +44,6 @@ gcc_noreturn
void
FatalError(const char *msg, const Error &error);
-#ifdef HAVE_GLIB
-gcc_noreturn
-void
-FatalError(const char *msg, GError *error);
-#endif
-
/**
* Call this after a system call has failed that is not supposed to
* fail. Prints the given message, the system error message (from