Skip to content

Commit

Permalink
Extern integer definitions in the header file
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mzealey committed Jun 8, 2017
1 parent 6ddd0e0 commit 024e5d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 024e5d5

Please sign in to comment.