Skip to content

Commit

Permalink
Make variables in header file extern
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Nov 27, 2023
1 parent 8392d8c commit ab843f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions native/WDS/src/models.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
int nvars;
int nobjs;
int nconstrs;
char* inputFile;
extern int nvars;
extern int nobjs;
extern int nconstrs;
extern char* inputFile;
void test_problem (double *xreal, double *xbin, int **gene, double *obj, double *constr);

0 comments on commit ab843f1

Please sign in to comment.