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/UpdateWalk.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/UpdateWalk.cxx') 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) { -- cgit v1.2.3