From d44819ae9c55f4d3c0f347b2640f58a2deddebb4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 22 Jul 2019 13:58:11 +0000 Subject: Factor all the BSD complaints into one new header --- src/headers/bits-template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/headers') diff --git a/src/headers/bits-template b/src/headers/bits-template index fa08dd9..f6cde95 100644 --- a/src/headers/bits-template +++ b/src/headers/bits-template @@ -10,8 +10,8 @@ extern uint@BITS@_t uint@BITS@_bswap (uint@BITS@_t) ; #define UINT@BITS@_XFMT @XFMT@ #define UINT@BITS@_BFMT @BFMT@ -#define uint@BITS@_fmt_base(s, u, base) uint64_fmt_generic(s, u, base) -#define uint@BITS@0_fmt_base(s, u, n, base) uint640_fmt_generic(s, u, n, base) +#define uint@BITS@_fmt_base uint64_fmt_generic +#define uint@BITS@0_fmt_base uint640_fmt_generic #define uint@BITS@_fmt(s, u) uint@BITS@_fmt_base(s, (u), 10) #define uint@BITS@0_fmt(s, u, n) uint@BITS@0_fmt_base(s, u, (n), 10) #define uint@BITS@_ofmt(s, o) uint@BITS@_fmt_base(s, (o), 8) @@ -37,7 +37,7 @@ extern size_t uint@BITS@0_scan_base (char const *, uint@BITS@_t *, uint8_t) ; extern size_t uint@BITS@_scanlist (uint@BITS@_t *, size_t, char const *, size_t *) ; -#define int@BITS@_fmt_base(s, u, base) int64_fmt_generic(s, u, base) +#define int@BITS@_fmt_base int64_fmt_generic #define int@BITS@_fmt(s, u) int@BITS@_fmt_base(s, (u), 10) #define int@BITS@_ofmt(s, o) int@BITS@_fmt_base(s, (o), 8) #define int@BITS@_xfmt(s, x) int@BITS@_fmt_base(s, (x), 16) -- cgit v1.2.3