Declare instead of define data varaibles in header

This commit is contained in:
Alan Wu 2021-01-22 15:06:51 -05:00
parent 738160db0a
commit f68ddaa54a
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@
#include "ujit_core.h"
// Code blocks we generate code into
codeblock_t* cb;
codeblock_t* ocb;
extern codeblock_t *cb;
extern codeblock_t *ocb;
// Code generation state
typedef struct JITState