1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-27 05:40:17 +05:30

C: clock-malfunction-imitation.c: reformat

This commit is contained in:
Intel A80486DX2-66 2024-02-21 21:53:22 +03:00
parent a0d4c9d104
commit 8f4b853094
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

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--;