History

Make internal logging variables static

This avoids polluting the global namespace.

Martin Storsjö committed 12 years ago

Commit ba1de161 parent ab4fe3f1 file · +2 −2Browse files

Showing the changes to codec/common/src/utils.cpp (1 of 1 file). Show all

Unified · Split

codec/common/src/utils.cpp+2−2
@@ -48,8 +48,8 @@ float WelsCalcPsnr (const void* kpTarPic, · 47 unmodified lines
4848 const int32_t kiHeight);
4949
5050
51−iWelsLogLevel g_iLevelLog = WELS_LOG_DEFAULT; // default log iLevel
52−PWelsLogCallbackFunc wlog;
51+static iWelsLogLevel g_iLevelLog = WELS_LOG_DEFAULT; // default log iLevel
52+static PWelsLogCallbackFunc wlog;
5353
5454 /*!
5555 *************************************************************************************

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t