From 9e448e8a518a8cf3948017cf04493d1d04938ff9 Mon Sep 17 00:00:00 2001
From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Sun, 11 Aug 2024 15:08:32 +0100
Subject: [PATCH] maint: fix syntax-check failure
* gl/lib/xdectoint.h: Reinstate indentation enforced with cppi.
* src/head.c: Remove now redundant inclusion of "quote.h".
---
gl/lib/xdectoint.h | 8 ++++----
src/head.c | 1 -
2 files changed, 4 insertions(+), 5 deletions(-)
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"
--
2.47.2