diff options
| author | Pádraig Brady <P@draigBrady.com> | 2024-08-11 15:08:32 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2024-08-11 15:13:04 +0100 |
| commit | 9e448e8a518a8cf3948017cf04493d1d04938ff9 (patch) | |
| tree | e40540c2641e883da674eb064e2106697a52d979 | |
| parent | doc: printf %b: clarify octal processing (diff) | |
| download | coreutils-9e448e8a518a8cf3948017cf04493d1d04938ff9.tar.gz coreutils-9e448e8a518a8cf3948017cf04493d1d04938ff9.zip | |
maint: fix syntax-check failure
* gl/lib/xdectoint.h: Reinstate indentation enforced with cppi.
* src/head.c: Remove now redundant inclusion of "quote.h".
| -rw-r--r-- | gl/lib/xdectoint.h | 8 | ||||
| -rw-r--r-- | src/head.c | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/gl/lib/xdectoint.h b/gl/lib/xdectoint.h index 2c738753a..17db93dc2 100644 --- a/gl/lib/xdectoint.h +++ b/gl/lib/xdectoint.h @@ -16,9 +16,9 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ #ifndef XDECTOINT_H_ -#define XDECTOINT_H_ 1 +# define XDECTOINT_H_ 1 -#include <inttypes.h> +# include <inttypes.h> /* 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 14f686e5f..cb418b449 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" |
