From: Pádraig Brady Date: Sun, 11 Aug 2024 14:08:32 +0000 (+0100) Subject: maint: fix syntax-check failure X-Git-Tag: v9.6~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e448e8a518a8cf3948017cf04493d1d04938ff9;p=thirdparty%2Fcoreutils.git maint: fix syntax-check failure * gl/lib/xdectoint.h: Reinstate indentation enforced with cppi. * src/head.c: Remove now redundant inclusion of "quote.h". --- diff --git a/gl/lib/xdectoint.h b/gl/lib/xdectoint.h index 2c738753af..17db93dc29 100644 --- a/gl/lib/xdectoint.h +++ b/gl/lib/xdectoint.h @@ -16,9 +16,9 @@ along with this program. If not, see . */ #ifndef XDECTOINT_H_ -#define XDECTOINT_H_ 1 +# define XDECTOINT_H_ 1 -#include +# include /* Flags for xnumtoimax and xnumtoumax. They can be ORed togethar. */ enum @@ -39,11 +39,11 @@ enum XTOINT_MAX_RANGE = 1 << 3 }; -#define _DECLARE_XDECTOINT(name, type) \ +# define _DECLARE_XDECTOINT(name, type) \ type name (char const *n_str, type min, type max, \ char const *suffixes, char const *err, int err_exit) \ _GL_ATTRIBUTE_NONNULL ((1, 5)); -#define _DECLARE_XNUMTOINT(name, type) \ +# define _DECLARE_XNUMTOINT(name, type) \ type name (char const *n_str, int base, type min, type max, \ char const *suffixes, char const *err, int err_exit, int flags) \ _GL_ATTRIBUTE_NONNULL ((1, 6)); diff --git a/src/head.c b/src/head.c index 14f686e5f6..cb418b4494 100644 --- a/src/head.c +++ b/src/head.c @@ -33,7 +33,6 @@ #include "assure.h" #include "full-read.h" -#include "quote.h" #include "safe-read.h" #include "stat-size.h" #include "xbinary-io.h"