Removing static and making extern
parent
705e0b18ab
commit
a47f6e6f2d
|
@ -317,6 +317,11 @@ UTIL_createFileList(const char **inputNames, unsigned inputNamesNb,
|
||||||
return fileTable;
|
return fileTable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*-****************************************
|
||||||
|
* Console log
|
||||||
|
******************************************/
|
||||||
|
int g_utilDisplayLevel;
|
||||||
|
|
||||||
/*-****************************************
|
/*-****************************************
|
||||||
* Time functions
|
* Time functions
|
||||||
******************************************/
|
******************************************/
|
||||||
|
|
|
@ -110,7 +110,7 @@ extern "C" {
|
||||||
/*-****************************************
|
/*-****************************************
|
||||||
* Console log
|
* Console log
|
||||||
******************************************/
|
******************************************/
|
||||||
static int g_utilDisplayLevel;
|
extern int g_utilDisplayLevel;
|
||||||
#define UTIL_DISPLAY(...) fprintf(stderr, __VA_ARGS__)
|
#define UTIL_DISPLAY(...) fprintf(stderr, __VA_ARGS__)
|
||||||
#define UTIL_DISPLAYLEVEL(l, ...) { if (g_utilDisplayLevel>=l) { UTIL_DISPLAY(__VA_ARGS__); } }
|
#define UTIL_DISPLAYLEVEL(l, ...) { if (g_utilDisplayLevel>=l) { UTIL_DISPLAY(__VA_ARGS__); } }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue