Problem found with clang 15.0 on CheriBSD.
* src/names.c (namelist_match, register_match):
Now plain static, not static COMMON_INLINE, since the later
could mean the declaration is ‘static static’ which is not allowed.
return NULL;
}
-static COMMON_INLINE struct name *
+static struct name *
namelist_match (char const *file_name, bool exact)
{
return namelist_match_from (namelist, file_name, exact);
}
/* Update CURSOR to remember that it matched FILE_NAME. */
-static COMMON_INLINE void
+static void
register_match (struct name *cursor, const char *file_name)
{
if (!(ISSLASH (file_name[cursor->length]) && recursion_option)