mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
maint: give a new function the "pure" attribute
* src/digest.c (problematic_chars): This recently introduced function does not modify state so is pure, even though GCC 13.1 at least did not warn about that attribute being appropriate.
This commit is contained in:
1 parent
86614ba1c2
commit
ebd776a422
1 file changed
+1
@@ -564,6 +564,7 @@ or equivalent standalone program.\
|
||||
that need escaping. Note we escape '\' itself to provide some forward
|
||||
compat to introduce escaping of other characters. */
|
||||
|
||||
ATTRIBUTE_PURE
|
||||
static bool
|
||||
problematic_chars (char const *s)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user