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:
parent
a374e6435d
commit
e379edc648
12 changed files with 17 additions and 25 deletions
|
@ -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[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue