]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: give a new function the "pure" attribute
authorPádraig Brady <P@draigBrady.com>
Wed, 12 Jul 2023 19:34:47 +0000 (20:34 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 12 Jul 2023 19:41:00 +0000 (20:41 +0100)
commitebd776a422cb21c846ea58f30930234c918e65d9
tree51141d82f9e6b5fd9ef01b205e3d38ab01116f9f
parent86614ba1c2854d3209086db3788124f6cd07a9ff
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.
src/digest.c