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
|
@ -57,8 +57,6 @@ struct pchrstr {
|
|||
char *p_sname; /* short (7 char or less) name of product */
|
||||
};
|
||||
|
||||
#define P_MAX 22
|
||||
|
||||
extern struct pchrstr pchr[P_MAX + 2];
|
||||
extern struct pchrstr pchr[24];
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue