Skip to content

Commit 1365db7

Browse files
committed
The 'static' modifier is not needed here.
1 parent 6f32df1 commit 1365db7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/xrCore/log.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
#include "malloc.h"
1010
#endif
1111

12-
extern BOOL LogExecCB = TRUE;
13-
static string_path logFName = "engine.log";
14-
static string_path log_file_name = "engine.log";
15-
static BOOL no_log = TRUE;
12+
BOOL LogExecCB = TRUE;
13+
string_path logFName = "engine.log";
14+
string_path log_file_name = "engine.log";
15+
BOOL no_log = TRUE;
1616
#ifdef CONFIG_PROFILE_LOCKS
17-
static Lock logCS(MUTEX_PROFILE_ID(log));
17+
Lock logCS(MUTEX_PROFILE_ID(log));
1818
#else // CONFIG_PROFILE_LOCKS
19-
static Lock logCS;
19+
Lock logCS;
2020
#endif // CONFIG_PROFILE_LOCKS
2121
xr_vector<xr_string> LogFile;
22-
static LogCallback LogCB = 0;
22+
LogCallback LogCB = 0;
2323

2424
void FlushLog()
2525
{

0 commit comments

Comments
 (0)