]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: fix syntax-check failure
authorPádraig Brady <P@draigBrady.com>
Sun, 11 Aug 2024 14:08:32 +0000 (15:08 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 11 Aug 2024 14:13:04 +0000 (15:13 +0100)
* gl/lib/xdectoint.h: Reinstate indentation enforced with cppi.
* src/head.c: Remove now redundant inclusion of "quote.h".

gl/lib/xdectoint.h
src/head.c

index 2c738753af15ac25d749b6dc4688231784da6dec..17db93dc2947edf3f08f6f7f8d00d30db117eff5 100644 (file)
@@ -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));
index 14f686e5f68ded1e561646e4ea7c6868196ebf74..cb418b4494dcddfff47027c1c0e3c9e2074d5fcc 100644 (file)
@@ -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"