summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2026-03-10 09:31:17 +0100
committerJörg Frings-Fürst <debian@jff.email>2026-03-10 09:31:17 +0100
commit22f77b46ab555f57523990094a3e40a55f2c492a (patch)
tree0b2dad175ecf9514c5c9d8fb9473010c2337a3b3 /util.c
parentc9aac994d65f7bcc3659e3219d6729a24c803fcf (diff)
New upstream version 3.7upstream/3.7upstream
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;
-}