Various cleanups.
* Remove disused macro. * GCC doesn't seem to mind if IGNORE() is left off. * Enumify phase codes. * Use EXIT_* macros in all exit() calls. * How did this even work without extern? * Give advent.h a much-needed makeover. * Use the chomp indicator in YAML string blocks to avoid code ugliness.
This commit is contained in:
parent
31f27b672c
commit
8bc08773fa
7 changed files with 186 additions and 201 deletions
4
score.c
4
score.c
|
@ -125,12 +125,12 @@ void terminate(enum termination mode)
|
|||
speak(classes[i].message);
|
||||
i = classes[i].threshold + 1 - points;
|
||||
rspeak(NEXT_HIGHER, i, i);
|
||||
exit(0);
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
}
|
||||
rspeak(OFF_SCALE);
|
||||
rspeak(NO_HIGHER);
|
||||
exit(0);
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
/* end */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue