summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-06-01 12:36:34 +0000
committerLaurent Bercot <ska@appnovation.com>2022-06-01 12:36:34 +0000
commite88276fdec7b3b94ec939f5eb1c8def004ee3878 (patch)
tree118f28d54fe208fe823e5e4cc775bbf377ea53a4 /tools
parent37b42c179bb00d05cb47c739cb95283548f84fb2 (diff)
downloadskalibs-e88276fdec7b3b94ec939f5eb1c8def004ee3878.tar.xz
Rework endianness conversion primitives
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/convert-leapsecs.c1
-rwxr-xr-xtools/gen-types.sh2
2 files changed, 2 insertions, 1 deletions
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 <sys/types.h>
#include <time.h>
+
#include <skalibs/uint64.h>
#include <skalibs/buffer.h>
#include <skalibs/strerr2.h>
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)