improved source
This commit is contained in:
parent
232c2a9e4b
commit
7fe1ea08dc
2 changed files with 1 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue