]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: ls.c: apply _GL_ATTRIBUTE_PURE to more functions
authorJim Meyering <meyering@fb.com>
Sat, 28 Oct 2017 04:14:37 +0000 (21:14 -0700)
committerJim Meyering <meyering@fb.com>
Sat, 28 Oct 2017 04:18:46 +0000 (21:18 -0700)
commitf89c20bdf7ccc033cbc22662e932fae7761754fc
treedbb313aa2e49c0e57dfe1988ead3e8c1d3492e55
parent61a8b5cb56a6ab88cb120fd2e3d9107255b93e90
build: ls.c: apply _GL_ATTRIBUTE_PURE to more functions

* src/ls.c (DEFINE_SORT_FUNCTIONS): Apply _GL_ATTRIBUTE_PURE
to each strcmp-derived function definition, since GCC8 with
-Wsuggest-attribute=pure now warns it is needed.
src/ls.c