diff --git a/src/main.c b/src/main.c index a7110aeea..b6064cab9 100644 --- a/src/main.c +++ b/src/main.c @@ -87,6 +87,10 @@ bool ft_intrpt = FALSE; /* Set by the (void) signal handlers. TRUE = we've b bool ft_setflag = FALSE; /* TRUE = Don't abort simulation after an interrupt. */ char *ft_rawfile = "rawspice.raw"; +#ifdef XSPICE +bool wantevtdata = FALSE; +#endif + #ifdef HAS_WINGUI extern void winmessage(char *new_msg); /* display a message box (defined in winmain.c)*/ extern void SetSource(char *Name); /* display the source file name in the source window */ diff --git a/src/sharedspice.c b/src/sharedspice.c index 0e76abb3e..28ec986a8 100644 --- a/src/sharedspice.c +++ b/src/sharedspice.c @@ -175,6 +175,7 @@ extern void create_circbyline(char *line); #ifdef XSPICE extern struct evt_shared_data *EVTshareddata(char *node_name); extern char** EVTallnodes(void); +extern bool wantevtdata; #endif @@ -231,7 +232,6 @@ static bool immediate = FALSE; static bool coquit = FALSE; static jmp_buf errbufm, errbufc; static int intermj = 1; -bool wantevtdata = FALSE; static SendInitEvtData* sendinitevt; static SendEvtData* sendevt; static void* euserptr;