improved source

This commit is contained in:
Denis 2023-11-06 02:23:00 +01:00
parent 232c2a9e4b
commit 7fe1ea08dc
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
2 changed files with 1 additions and 2 deletions

View file

@ -1,5 +1,5 @@
CFLAGS= -g -O0 -D _DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112L -std=c11 -fPIE -pedantic -Wall # -Werror
LDFLAGS=-lpthread -levdev
LDFLAGS=-lpthread -levdev -lrt
CC=gcc
OBJECTS=main.o input_dev.o output_dev.o queue.o
TARGET=rogue_enemy

View file

@ -111,7 +111,6 @@ void *input_dev_thread_func(void *ptr) {
struct input_ctx ctx = {
.dev = NULL,
.queue = in_dev->queue,
.messages = {}
};
for (int h = 0; h < MAX_MESSAGES_IN_FLIGHT; ++h) {