Removing static and making extern

This commit is contained in:
Rohit Jain committed 2018-10-11 16:51:29 -07:00
1 parent 705e0b18ab
commit a47f6e6f2d
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -317,6 +317,11 @@ UTIL_createFileList(const char **inputNames, unsigned inputNamesNb,
return fileTable;
}
/*-****************************************
* Console log
******************************************/
int g_utilDisplayLevel;
/*-****************************************
* Time functions
******************************************/
+1 -1
View File
@@ -110,7 +110,7 @@ extern "C" {
/*-****************************************
* Console log
******************************************/
static int g_utilDisplayLevel;
extern int g_utilDisplayLevel;
#define UTIL_DISPLAY(...) fprintf(stderr, __VA_ARGS__)
#define UTIL_DISPLAYLEVEL(l, ...) { if (g_utilDisplayLevel>=l) { UTIL_DISPLAY(__VA_ARGS__); } }