]> git.ipfire.org Git - thirdparty/coreutils.git/commit
df: pacify -Wsuggest-attribute=malloc
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 Aug 2021 19:42:20 +0000 (12:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 Aug 2021 20:10:26 +0000 (13:10 -0700)
commitb020d456d115d2a17b2bd6d2cbd29cd3972b56e9
treee0292106eba17ca9fce6a476bfd363f3b9cfd21e
parent3c180828220d5e7afe564cc139ccc6f2bc05e826
df: pacify -Wsuggest-attribute=malloc

Problem found with latest Gnulib and GCC 11.2.1.
* src/find-mount-point.h (find_mount_point):
Add _GL_ATTRIBUTE_MALLOC and _GL_ATTRIBUTE_DEALLOC_FREE.
src/find-mount-point.h