diff options
author | Dan Glastonbury <[email protected]> | 2017-04-18 11:10:44 +1000 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2017-04-18 12:04:02 +0200 |
commit | 36b10ff2f29eb18cd8804d0428b4067106dc9666 (patch) | |
tree | f3c9d3215751be82a6e79836076dff0fc727901a /src/cubeb_log.cpp | |
parent | fd66f15587c71f2bf215b9cf4b47b941aa23e262 (diff) | |
download | cubeb-36b10ff2f29eb18cd8804d0428b4067106dc9666.tar.gz cubeb-36b10ff2f29eb18cd8804d0428b4067106dc9666.zip |
Rename g_log_... to g_cubeb_log_...
Fix for #284.
Diffstat (limited to 'src/cubeb_log.cpp')
-rw-r--r-- | src/cubeb_log.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cubeb_log.cpp b/src/cubeb_log.cpp index 52ceab6..4c61693 100644 --- a/src/cubeb_log.cpp +++ b/src/cubeb_log.cpp @@ -15,8 +15,8 @@ #include <time.h> #endif -cubeb_log_level g_log_level; -cubeb_log_callback g_log_callback; +cubeb_log_level g_cubeb_log_level; +cubeb_log_callback g_cubeb_log_callback; /** The maximum size of a log message, after having been formatted. */ const size_t CUBEB_LOG_MESSAGE_MAX_SIZE = 256; @@ -115,7 +115,7 @@ private: void cubeb_async_log(char const * fmt, ...) { - if (!g_log_callback) { + if (!g_cubeb_log_callback) { return; } // This is going to copy a 256 bytes array around, which is fine. |