(lnd_maxno): Variable's value is well-known constant N_MAXLAND + 1.
Useless, remove. Users changed to check lchr's sentinel, because that's clearer than comparing the index to N_MAXLAND or sizeof(lchr) / sizeof(*lchr). (lchr): Change sentinel's l_name to NULL.
This commit is contained in:
parent
190cbaadf2
commit
04c247f2da
4 changed files with 3 additions and 8 deletions
|
@ -182,7 +182,6 @@ struct lchrstr {
|
|||
(struct lndstr *) ef_ptr(EF_LAND, n)
|
||||
|
||||
extern struct lchrstr lchr[N_MAXLAND + 1];
|
||||
extern int lnd_maxno;
|
||||
|
||||
struct llist {
|
||||
struct emp_qelem queue; /* list of units */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue