*: use gcc.h macros instead of GLib

This commit is contained in:
Max Kellermann
2013-08-04 23:48:01 +02:00
parent 5bf2ec5a74
commit 85b77b81ca
98 changed files with 369 additions and 349 deletions

View File

@@ -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)
{