config: Drop configuration table size macros

Macros LND_TYPE_MAX, N_MAXNUKE, PLN_TYPE_MAX, P_MAX, SCT_TYPE_MAX,
SHP_TYPE_MAX are only used to size a single array each.  Eliminate.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2020-12-26 06:30:24 +01:00
parent a374e6435d
commit e379edc648
12 changed files with 17 additions and 25 deletions

View file

@ -38,4 +38,4 @@
* Table of nuke types
* Initialized on startup from nuke.config and deity custom config (if any).
*/
struct nchrstr nchr[N_MAXNUKE + 1];
struct nchrstr nchr[];