From 4f2e97b30c97fbc0b0c22fb48d82152dbc1af3b0 Mon Sep 17 00:00:00 2001 From: Artsiom Dzenisiuk Date: Sat, 18 Oct 2025 21:36:23 +0200 Subject: [PATCH] CodeGrade doesn't understand '-std=c23' --- makefile | 2 +- ui.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index db65cfe..cd7109b 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -CFLAGS = -std=c23 -Wextra -pedantic -Wall -O0 -g3 -fsanitize=address +CFLAGS = -std=c11 -Wextra -pedantic -Wall -O0 -g3 -fsanitize=address LDFLAGS = -lncurses -fsanitize=address spel: box.o main.o ui.o util.o chart.o diff --git a/ui.c b/ui.c index a099639..986c2b2 100644 --- a/ui.c +++ b/ui.c @@ -30,7 +30,7 @@ ui_init(void) refresh(); } -void ui_end() +void ui_end(void) { endwin(); }