fix: correct atomic pointer declaration syntax

Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-10 10:42:20 +00:00
parent 5739ff8019
commit 595a35ec32
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
#include <string.h>
/* Global state (shared across files) */
_Atomic struct channel_t *channels = NULL;
struct channel_t *_Atomic channels = NULL;
atomic_int channel_capacity = 0;
atomic_int channel_count = 0;
int next_channel_id = 1;