Factor out handling of variables populated from the database.

This reorganization is a first step toward handling database compilation separately.
This commit is contained in:
Jason S. Ninneman 2017-05-28 15:42:05 -07:00
parent e0f160d313
commit df46df6979
11 changed files with 127 additions and 56 deletions

6
main.h
View file

@ -7,9 +7,9 @@ typedef struct lcg_state
unsigned long a, c, m, x;
} lcg_state;
extern long ABB[], ATAB[], ATLOC[], BLKLIN, DFLAG, DLOC[], FIXED[], HOLDNG,
KTAB[], *LINES, LINK[], LNLENG, LNPOSN,
PARMS[], PLACE[], PTEXT[], RTEXT[], TABSIZ;
extern long ABB[], ATLOC[], BLKLIN, DFLAG, DLOC[], FIXED[], HOLDNG,
LINK[], LNLENG, LNPOSN,
PARMS[], PLACE[];
extern signed char rawbuf[LINESIZE], INLINE[LINESIZE+1], MAP1[], MAP2[];
extern FILE *logfp;
extern bool oldstyle;