skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit 1f8f72ced6a4d7043e5b47d22960cde96fbb1a71
parent 4280d43e83deb0a9ed00ce362d3f01f273f24630
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Mon, 21 Nov 2022 01:08:30 +0000

 bits-template: fix typos

Signed-off-by: Laurent Bercot <ska@appnovation.com>

Diffstat:
MAUTHORS | 1+
Msrc/headers/bits-template | 4++--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/AUTHORS b/AUTHORS @@ -45,3 +45,4 @@ Thanks to: Amitai Schleier <schmonz@schmonz.com> psykose <alice@ayaya.dev> Adam Beardwood <git@spad.co.uk> + Cormac Stephenson <c7s@kasku.net> diff --git a/src/headers/bits-template b/src/headers/bits-template @@ -19,7 +19,7 @@ extern void uint@BITS@_bswapn (uint@BITS@_t *, size_t) ; #define uint@BITS@0_ofmt(s, o, n) uint@BITS@0_fmt_base(s, o, (n), 8) #define uint@BITS@_xfmt(s, x) uint@BITS@_fmt_base(s, (x), 16) #define uint@BITS@0_xfmt(s, x, n) uint@BITS@0_fmt_base(s, x, (n), 16) -#define uint@BITS@_bfmt(s, b) uint@BITS@0_fmt_base(s, (b), 2) +#define uint@BITS@_bfmt(s, b) uint@BITS@_fmt_base(s, (b), 2) #define uint@BITS@0_bfmt(s, b, n) uint@BITS@0_fmt_base(s, b, (n), 2) extern size_t uint@BITS@_fmtlist (char *, uint@BITS@_t const *, size_t) ; @@ -42,7 +42,7 @@ extern size_t uint@BITS@_scanlist (uint@BITS@_t *, size_t, char const *, size_t #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) -#define int@BITS@_bfmt(s, b) int@BITS@0_fmt_base(s, (b), 2) +#define int@BITS@_bfmt(s, b) int@BITS@_fmt_base(s, (b), 2) extern size_t int@BITS@_fmtlist (char *, int@BITS@_t const *, size_t) ;