SPK is no longer global.

This commit is contained in:
Eric S. Raymond 2017-06-11 22:04:14 -04:00
parent e2ebc24114
commit a062d43079
3 changed files with 19 additions and 17 deletions

4
TODO
View file

@ -3,9 +3,9 @@
The FORTRANish mess that once was is now mostly idiomatic C. Some issues
remain to be cleaned up:
* The remaining shared globals: K, SPK, WD1, WD1X, WD2, WD2X. These are used
* The remaining shared globals: K, WD1, WD1X, WD2, WD2X. These are used
rather promiscuously to pass around information that ought to be function
arguments in a modern language. K and SPK are particular offenders
arguments in a modern language. K is a particular offender
* Remaining unstructured gotos in playermove() and do_command(). The goto L12
in playermove() is particularly horrible, jumping backwards into the