Skip to content

Commit 73a291c

Browse files
committed
fix: volatile
Signed-off-by: composer <[email protected]>
1 parent 94b88be commit 73a291c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/out_doris/doris.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222

2323
#include <fluent-bit/flb_pthread.h>
2424
#include <fluent-bit/flb_sds.h>
25-
#include <stdatomic.h>
2625

2726
struct flb_upstream;
2827
struct flb_output_instance;
2928
struct mk_list;
29+
struct flb_hash_table;
3030

3131
struct flb_doris_progress_reporter {
32-
atomic_int running;
32+
volatile int running;
3333
size_t total_bytes;
3434
size_t total_rows;
3535
size_t failed_rows;

0 commit comments

Comments
 (0)