1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-11-14 02:15:53 +05:30

clock-malfunction-imitation.c: optimize the use of STDOUT functions

This commit is contained in:
Intel A80486DX2-66 2024-06-26 00:10:50 +03:00
parent 3165f3c358
commit 6efb83187f
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -146,12 +146,12 @@ void time_flow_test(time_t (*time_function)(time_t*)) {
printf(" -> Abnormal time flow detected!");
fflush(stdout);
if (++i >= EXIT_IN) {
printf("\nAborting\n");
puts("\nAborting");
fflush(stdout);
break;
}
}
printf("\n");
putchar('\n');
fflush(stdout);
// Update the previous time
@ -162,7 +162,7 @@ void time_flow_test(time_t (*time_function)(time_t*)) {
first_time_passed = true;
}
printf("\n");
putchar('\n');
fflush(stdout);
}