From e88276fdec7b3b94ec939f5eb1c8def004ee3878 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 1 Jun 2022 12:36:34 +0000 Subject: Rework endianness conversion primitives Signed-off-by: Laurent Bercot --- tools/convert-leapsecs.c | 1 + tools/gen-types.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/convert-leapsecs.c b/tools/convert-leapsecs.c index 78e0f73..86019f5 100644 --- a/tools/convert-leapsecs.c +++ b/tools/convert-leapsecs.c @@ -2,6 +2,7 @@ #include #include + #include #include #include diff --git a/tools/gen-types.sh b/tools/gen-types.sh index 62d29e2..5dd408f 100755 --- a/tools/gen-types.sh +++ b/tools/gen-types.sh @@ -16,7 +16,7 @@ for i in short int long ; do tools/gen-types-internal.sh $i $I $bits < src/headers/signed-template done -for i in "$@" ; do +for i ; do un=un I=$(echo "$i" | tr a-z A-Z) bits=$(getbits "$sysdeps" $i) -- cgit v1.2.3