]> git.pond.sub.org Git - empserver/blobdiff - src/lib/global/sect.c
config: Slightly neater configuration table size macros
[empserver] / src / lib / global / sect.c
index e19598431ee8b31f496543c0e2d35e592bde3a1c..de316b4df0362521c6df309ce33e1ceffabf0bfc 100644 (file)
  * Initialized on startup from sect.config and deity custom config (if any).
  * Terminated by a sentinel with null d_name.
  */
-struct dchrstr dchr[SCT_TYPE_MAX + 2];
+struct dchrstr dchr[DCHR_SZ];
 
 /*
  * Table of infrastructure types
  * Initialized on startup from infra.config and deity custom config (if any).
  */
-struct sctintrins intrchr[INT_DEF + 2];
+struct sctintrins intrchr[INTRCHR_SZ];