summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2026-03-10 19:13:53 +0100
committerJörg Frings-Fürst <debian@jff.email>2026-03-10 19:13:53 +0100
commit3a3565140b52ca1ff87c1fa2f604089550d8efcb (patch)
tree33d4186168de7d5c954c12d29534cc19797b5f74 /util.c
parentd4b11cf3e4dcc4ca0ca41d6403c98b3214a8b92d (diff)
parentc61bb295f8ecde9a8dfb922aad56c58f1b8008e7 (diff)
Merge branch 'release/debian/3.7-1'HEADdebian/3.7-1master
Diffstat (limited to 'util.c')
-rw-r--r--util.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/util.c b/util.c
index dce84ff..7903c3e 100644
--- a/util.c
+++ b/util.c
@@ -261,19 +261,3 @@ out:
return p;
}
-
-/* Returns end - start + 1, assuming start < end */
-u64 u64_range(u64 start, u64 end)
-{
- u64 res;
-
- res.h = end.h - start.h;
- res.l = end.l - start.l;
-
- if (end.l < start.l)
- res.h--;
- if (++res.l == 0)
- res.h++;
-
- return res;
-}