We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b195b5 commit a0b18fdCopy full SHA for a0b18fd
thread_pthread.c
@@ -123,10 +123,10 @@ static struct {
123
#include <unistd.h>
124
125
#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;
+static char LOG_TAIL[LOG_TAIL_SIZE+1] = "";
+static char *LOG_TAIL_HEAD = LOG_TAIL;
+static bool write_tail = false;
+static const char *LOG_TAIL_END = LOG_TAIL + LOG_TAIL_SIZE;
130
131
static void log_tail_append(const char *msg) {
132
char tmp[1000];
0 commit comments