diff --git a/driver/cflexor.lex b/driver/cflexor.lex index 5e9e2f506..1bf7cec1d 100644 --- a/driver/cflexor.lex +++ b/driver/cflexor.lex @@ -27,6 +27,8 @@ # include "globals.h" # include +char *current_file = NULL; + static int comment_enter; static char* trim_trailing_white(char*txt, int trim); diff --git a/driver/cfparse_misc.h b/driver/cfparse_misc.h index 3cb7ddd6e..0323690ce 100644 --- a/driver/cfparse_misc.h +++ b/driver/cfparse_misc.h @@ -39,6 +39,6 @@ int cferror(const char *); int cfparse(void); void switch_to_command_file(const char *); void destroy_lexor(void); -char *current_file; +extern char *current_file; #endif /* IVL_cfparse_misc_H */ diff --git a/libveriuser/priv.h b/libveriuser/priv.h index 8256e16d3..8d3566087 100644 --- a/libveriuser/priv.h +++ b/libveriuser/priv.h @@ -31,6 +31,6 @@ extern char* __acc_newstring(const char*txt); /* * Trace file for logging ACC and TF calls. */ -FILE* pli_trace; +extern FILE* pli_trace; #endif /* IVL_priv_H */