Skip to content

Commit 5aacfe7

Browse files
committed
Remove atomic
1 parent ddc0337 commit 5aacfe7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ include mk/common.mk
22
include mk/check-libs.mk
33

44
CC ?= gcc
5-
CFLAGS := -O2 -g -Wall -Wextra -std=c11
5+
CFLAGS := -O2 -g -Wall -Wextra
66
CFLAGS += -include common.h
77

88
# clock frequency

virtio-snd.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include <stdatomic.h>
21
#include <stdio.h>
32
#include <string.h>
43

@@ -229,7 +228,7 @@ static int vsnd_dev_cnt = 0;
229228

230229
static struct CNFADriver *audio_host = NULL;
231230

232-
static bool _Atomic guest_playing = false;
231+
static bool guest_playing = false;
233232

234233
static void virtio_snd_set_fail(virtio_snd_state_t *vsnd)
235234
{

0 commit comments

Comments
 (0)