1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-19 12:23:22 +00:00

Extern integer definitions in the header file

Integers are defined in both the .c and the common.h file leading to linking
issues with the library when used externally and potentially causing issues
within the code as well.
This commit is contained in:
Mark Zealey
2017-06-08 15:22:58 +00:00
parent 6ddd0e0b14
commit 024e5d5797

View File

@ -86,9 +86,9 @@ typedef struct dyn_int_array_s dyn_int_array_t;
#define FILENAME_BUFFER_SIZE 128
int setup_error;
int module_setup;
int DEBUG;
extern int setup_error;
extern int module_setup;
extern int DEBUG;
int get_xio_base(void);
int is_this_chippro(void);