From 85b77b81caa40f8bcd03921380246cb5863d5d21 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Aug 2013 23:48:01 +0200 Subject: *: use gcc.h macros instead of GLib --- src/ConfigPath.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ConfigPath.cxx') 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 #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); -- cgit v1.2.3