Skip to content

Commit

Permalink
test: add missing static (clang fix)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Michalski <jan.michalski@intel.com>
  • Loading branch information
janekmi committed Mar 11, 2024
1 parent 580750a commit 6abce3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/core_log_threshold_mt/core_log_threshold_mt.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@

#define OP_REDO 4096

struct helper_ctx {
static struct helper_ctx {
enum core_log_threshold threshold;
int idx;
} helper_ctx_ [TOTAL_THREADS];

os_mutex_t mutex;
os_cond_t cond;
unsigned threads_waiting;
static os_mutex_t mutex;
static os_cond_t cond;
static unsigned threads_waiting;

static void *
helper_set(void *arg)
Expand Down

0 comments on commit 6abce3b

Please sign in to comment.