Simplify the signature of savefile().

This commit is contained in:
Eric S. Raymond 2023-04-06 19:26:04 -04:00
parent 58cf204eba
commit 4b08b726f9
4 changed files with 10 additions and 9 deletions

2
main.c
View file

@ -24,7 +24,7 @@ void autosave(void)
{
if (autosave_fp != NULL) {
rewind(autosave_fp);
savefile(autosave_fp, /* version (auto): */0);
savefile(autosave_fp);
fflush(autosave_fp);
}
}