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:
parent
3165f3c358
commit
6efb83187f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user