(nuk_maxno): Variable's value is well-known constant N_MAXNUKE + 1.

Useless, remove.  Users changed to check nchr's sentinel, because
that's clearer than comparing the index to N_MAXNUKE or sizeof(nchr) /
sizeof(*nchr).

(nchr): Change sentinel's n_name to NULL.
This commit is contained in:
Markus Armbruster 2005-11-06 20:37:07 +00:00
parent 856539fc54
commit 8c6529ded3
3 changed files with 2 additions and 7 deletions

View file

@ -80,6 +80,4 @@ struct nchrstr {
extern struct nchrstr nchr[N_MAXNUKE + 1];
extern int nuk_maxno;
#endif /* _NUKE_H_ */