Skip to content

Commit a0b18fd

Browse files
author
Jacob Lacouture
committed
static
1 parent 6b195b5 commit a0b18fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

thread_pthread.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ static struct {
123123
#include <unistd.h>
124124

125125
#define LOG_TAIL_SIZE 100000000
126-
char LOG_TAIL[LOG_TAIL_SIZE+1] = "";
127-
char *LOG_TAIL_HEAD = LOG_TAIL;
128-
bool write_tail = false;
129-
const char *LOG_TAIL_END = LOG_TAIL + LOG_TAIL_SIZE;
126+
static char LOG_TAIL[LOG_TAIL_SIZE+1] = "";
127+
static char *LOG_TAIL_HEAD = LOG_TAIL;
128+
static bool write_tail = false;
129+
static const char *LOG_TAIL_END = LOG_TAIL + LOG_TAIL_SIZE;
130130

131131
static void log_tail_append(const char *msg) {
132132
char tmp[1000];

0 commit comments

Comments
 (0)