aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateWalk.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/UpdateWalk.cxx
parent5bf2ec5a74bb1247a8cc84e90577eecbee116c62 (diff)
downloadmpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.gz
mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.tar.xz
mpd-85b77b81caa40f8bcd03921380246cb5863d5d21.zip
*: use gcc.h macros instead of GLib
Diffstat (limited to '')
-rw-r--r--src/UpdateWalk.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UpdateWalk.cxx b/src/UpdateWalk.cxx
index cc2b5743e..1ef82bfba 100644
--- a/src/UpdateWalk.cxx
+++ b/src/UpdateWalk.cxx
@@ -261,7 +261,7 @@ update_directory_child(Directory *directory,
}
/* we don't look at "." / ".." nor files with newlines in their name */
-G_GNUC_PURE
+gcc_pure
static bool skip_path(const Path &path_fs)
{
const char *path = path_fs.c_str();
@@ -270,7 +270,7 @@ static bool skip_path(const Path &path_fs)
strchr(path, '\n') != NULL;
}
-G_GNUC_PURE
+gcc_pure
static bool
skip_symlink(const Directory *directory, const char *utf8_name)
{