aboutsummaryrefslogtreecommitdiffstats
path: root/src/prog-fprintf.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-10-31 22:30:38 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2021-10-31 22:36:46 -0700
commit25e68323b9adcd7007258cc7b3c6986723b5a05b (patch)
treec49a5d5aa15a01910a7569169108e5572e006631 /src/prog-fprintf.h
parentmaint: modernize attribute usage (diff)
downloadcoreutils-25e68323b9adcd7007258cc7b3c6986723b5a05b.tar.gz
coreutils-25e68323b9adcd7007258cc7b3c6986723b5a05b.zip
maint: enable -Wsuggest-attribute=format
* configure.ac (WERROR_CFLAGS): Enable -Wsuggest-attribute=format for lib/ and src/. * src/copy.c (copy_attr_error, copy_attr_allerror): Add ATTRIBUTE_FORMAT. (copy_attr): Ignore -Wsuggest-attribute=format in the small section of code that needs it ignored. * src/test.c (test_syntax_error): Mark with ATTRIBUTE_FORMAT. (binary_operator): Omit unnecessary NULL args, pacifying -Wsuggest-attribute=format.
Diffstat (limited to 'src/prog-fprintf.h')
0 files changed, 0 insertions, 0 deletions