diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-01-29 16:17:52 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-01-29 16:17:52 +0100 |
commit | cd47bd564d7fc6177ba2e231d76bf352978409b8 (patch) | |
tree | 7465150c86969e66a90e4b960bb3537485205842 /src/tc-time.c | |
parent | 6c88f3bab0b743487b367712fa1ec27d1f87389e (diff) | |
parent | bfef0924f58eab930bdd826ac0132786abc32220 (diff) |
Update upstream source from tag 'upstream/4.10'
Update to upstream version '4.10'
with Debian dir 3c0b972fcc05149f237318f1a516c1c6bee6ce20
Diffstat (limited to 'src/tc-time.c')
-rw-r--r-- | src/tc-time.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/tc-time.c b/src/tc-time.c index e86ed67..5097cde 100644 --- a/src/tc-time.c +++ b/src/tc-time.c @@ -1,10 +1,4 @@ -/* - * Copyright Jan Engelhardt, 2012 - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the WTF Public License version 2 or - * (at your option) any later version. - */ +// SPDX-License-Identifier: MIT #include <assert.h> #include <math.h> #include <stdio.h> @@ -27,7 +21,7 @@ static const int NANOSECOND = 1000000000; static const long long NANOSECOND_LL = 1000000000; static const unsigned int clock_id = CLOCK_THREAD_CPUTIME_ID; static const unsigned int step = 1000; -static const unsigned int step_mul = 10000000; +static const long step_mul = 10000000; static const struct timespec pairs[] = { {-1, 700000000}, {-1, 400000000}, {-1, 0}, |