1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-05-31 08:31:41 +05:30

C: clock-malfunction-imitation.c: reformat

This commit is contained in:
2024-02-21 21:53:22 +03:00
parent a0d4c9d104
commit 8f4b853094

View File

@@ -67,9 +67,8 @@ time_t clock_exponential_growth(time_t* x) {
if (ticks_before_accident == 0) {
y += counter++;
counter *= counter;
} else {
} else
ticks_before_accident--;
}
CLOCK_FUN_END
}
@@ -108,9 +107,9 @@ time_t clock_reverse(time_t* x) {
static time_t counter = 1, old_time;
if (ticks_before_accident == 0) {
if (ticks_before_accident == 0)
y = old_time - counter++;
} else {
else {
time(&y);
old_time = y;
ticks_before_accident--;