From 3c6bd4dfc35d4f5f283d7617a9b5dae6fffa5248 Mon Sep 17 00:00:00 2001 From: ReiMerc Date: Thu, 9 Feb 2023 13:46:06 +0100 Subject: [PATCH] Fix errors on linux --- backend/GNUmakefile | 8 ++++---- backend/linux.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/GNUmakefile b/backend/GNUmakefile index c7a87c5..17d28d3 100644 --- a/backend/GNUmakefile +++ b/backend/GNUmakefile @@ -6,14 +6,14 @@ HEADERS = $(wildcard *.h) all: compile_flags.txt server server: main.o linux.o - gcc $^ -o $@ + gcc $^ -o $@ %.o: %.c $(HEADERS) - gcc $< -c -o $@ $(CFLAGS) + gcc $< -c -o $@ $(CFLAGS) clean: - rm -rf *.o server client + rm -rf *.o server client compile_flags.txt: - echo -xc $(CFLAGS) | sed 's/\s\+/\n/g' > compile_flags.txt + echo -xc $(CFLAGS) | sed 's/\s\+/\n/g' > compile_flags.txt diff --git a/backend/linux.c b/backend/linux.c index d5a89ad..13d5c03 100644 --- a/backend/linux.c +++ b/backend/linux.c @@ -1,6 +1,6 @@ #include "native.h" -void init_socket(void) +void init_sockets(void) { }