mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
basic/log-context: mark global vars as static
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
#include "strv.h"
|
||||
|
||||
static int saved_log_context_enabled = -1;
|
||||
thread_local LIST_HEAD(LogContext, _log_context) = NULL;
|
||||
thread_local size_t _log_context_num_fields = 0;
|
||||
static thread_local LIST_HEAD(LogContext, _log_context) = NULL;
|
||||
static thread_local size_t _log_context_num_fields = 0;
|
||||
|
||||
bool log_context_enabled(void) {
|
||||
int r;
|
||||
|
||||
Reference in New Issue
Block a user