summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2026-03-10 09:31:18 +0100
committerJörg Frings-Fürst <debian@jff.email>2026-03-10 09:31:18 +0100
commit48e6eede2a7e96633c6aa72faef7388f3b7abe1b (patch)
treeb2371534a7ce332bcf51d7ddc167d7e8703a7f51 /util.c
parent208d5c5ff5bdc5d607218f8dddbcb8be0850a551 (diff)
parent22f77b46ab555f57523990094a3e40a55f2c492a (diff)
Update upstream source from tag 'upstream/3.7'
Update to upstream version '3.7' with Debian dir c76a11fb141eff6613876ec76a3b73ff59e2e1a2
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;
-}