aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigPath.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-04 23:48:01 +0200
committerMax Kellermann <max@duempel.org>2013-08-04 23:48:01 +0200
commit85b77b81caa40f8bcd03921380246cb5863d5d21 (patch)
treecf4bc60a6760c52bcbd642a253b45f3bc5ad8775 /src/ConfigPath.cxx
parent5bf2ec5a74bb1247a8cc84e90577eecbee116c62 (diff)
downloadmpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.gz
mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.xz
mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.zip
*: use gcc.h macros instead of GLib
Diffstat (limited to 'src/ConfigPath.cxx')
-rw-r--r--src/ConfigPath.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ConfigPath.cxx b/src/ConfigPath.cxx
index 767115d19..074891433 100644
--- a/src/ConfigPath.cxx
+++ b/src/ConfigPath.cxx
@@ -45,7 +45,7 @@
#include <windows.h>
#endif
-G_GNUC_CONST
+gcc_const
static inline GQuark
parse_path_quark(void)
{
@@ -53,7 +53,7 @@ parse_path_quark(void)
}
char *
-parsePath(const char *path, G_GNUC_UNUSED GError **error_r)
+parsePath(const char *path, gcc_unused GError **error_r)
{
assert(path != nullptr);
assert(error_r == nullptr || *error_r == nullptr);