Make some variables static to avoid link errors.
This commit is contained in:
parent
d71bf20df3
commit
f2426dfdeb
5
buchi.c
5
buchi.c
|
@ -45,8 +45,9 @@ extern void put_uform(void);
|
||||||
|
|
||||||
extern FILE *tl_out;
|
extern FILE *tl_out;
|
||||||
BState *bstack, *bstates, *bremoved;
|
BState *bstack, *bstates, *bremoved;
|
||||||
BScc *scc_stack;
|
static BScc *scc_stack;
|
||||||
int bstate_count = 0, btrans_count = 0, rank;
|
int bstate_count = 0, btrans_count = 0;
|
||||||
|
static int rank;
|
||||||
|
|
||||||
static int _accept;
|
static int _accept;
|
||||||
|
|
||||||
|
|
|
@ -46,9 +46,10 @@ extern int tl_verbose, tl_stats, tl_simp_diff, tl_simp_fly, tl_fjtofj,
|
||||||
extern char **sym_table;
|
extern char **sym_table;
|
||||||
|
|
||||||
GState *gstack, *gremoved, *gstates, **init;
|
GState *gstack, *gremoved, *gstates, **init;
|
||||||
GScc *scc_stack;
|
static GScc *scc_stack;
|
||||||
int init_size = 0, gstate_id = 1, gstate_count = 0, gtrans_count = 0;
|
int init_size = 0, gstate_id = 1, gstate_count = 0, gtrans_count = 0;
|
||||||
int *fin, *final, rank, scc_id, scc_size, *bad_scc;
|
int *fin, *final, scc_id, scc_size, *bad_scc;
|
||||||
|
static int rank;
|
||||||
|
|
||||||
void print_generalized();
|
void print_generalized();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue