Make "accept" static to avoid clashes with accept(2) syscall

TODO:
there are lots of variables in ltl2ba which should perhaps better be static
This commit is contained in:
Michael Weber 2011-02-04 15:02:50 +01:00 committed by Michael Weber
parent 76c92577f7
commit 091e219aed

View file

@ -43,7 +43,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; BScc *scc_stack;
int accept, bstate_count = 0, btrans_count = 0, rank; int bstate_count = 0, btrans_count = 0, rank;
static int accept;
/********************************************************************\ /********************************************************************\
|* Simplification of the generalized Buchi automaton *| |* Simplification of the generalized Buchi automaton *|