mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-27 01:44:21 +00:00
maint: fix recent syntax-check failures
* cfg.mk (exclude_file_name_regexp--sc_system_h_headers): Add chown-core.h to the regexp, to better decouple from system.h. * src/env.c: Remove minmax.h include already included in system.h. * src/libstdbuf.c: Likewise. * src/prog-fprintf.h: Remove doubled semicolon.
This commit is contained in:
parent
ea02406748
commit
a0468760ff
2
cfg.mk
2
cfg.mk
@ -839,7 +839,7 @@ exclude_file_name_regexp--sc_bindtextdomain = \
|
||||
exclude_file_name_regexp--sc_trailing_blank = \
|
||||
^(tests/pr/|gl/.*\.diff$$|man/help2man)
|
||||
exclude_file_name_regexp--sc_system_h_headers = \
|
||||
^src/((die|system|copy|find-mount-point)\.h|make-prime-list\.c)$$
|
||||
^src/((die|system|copy|chown-core|find-mount-point)\.h|make-prime-list\.c)$$
|
||||
|
||||
_src = (crctab|false|lbracket|ls-(dir|ls|vdir)|tac-pipe|uname-(arch|uname))
|
||||
_gl_src = (xdecto.max|cl-strtold)
|
||||
|
||||
@ -27,7 +27,6 @@
|
||||
#include "die.h"
|
||||
#include "error.h"
|
||||
#include "idx.h"
|
||||
#include "minmax.h"
|
||||
#include "operand2sig.h"
|
||||
#include "quote.h"
|
||||
#include "sig2str.h"
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include "system.h"
|
||||
#include "minmax.h"
|
||||
|
||||
/* Deactivate config.h's "rpl_"-prefixed definitions, since we don't
|
||||
link gnulib here, and the replacements aren't needed. */
|
||||
|
||||
@ -20,6 +20,6 @@
|
||||
# include <stdio.h>
|
||||
|
||||
extern void prog_fprintf (FILE *fp, char const *fmt, ...)
|
||||
_GL_ATTRIBUTE_FORMAT ((__printf__, 2, 3)) _GL_ATTRIBUTE_NONNULL ((1, 2));;
|
||||
_GL_ATTRIBUTE_FORMAT ((__printf__, 2, 3)) _GL_ATTRIBUTE_NONNULL ((1, 2));
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user