From 1bb9453a0bcffce76a0386f2e14985a7fa4f5f29 Mon Sep 17 00:00:00 2001 From: Rigel Di Scala Date: Sun, 23 Jun 2024 10:42:40 +0200 Subject: [PATCH] Fix gfx teardown function signature --- include/gfx.h | 2 +- src/gfx.c | 2 +- src/main.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/gfx.h b/include/gfx.h index 832e8aa..946a527 100644 --- a/include/gfx.h +++ b/include/gfx.h @@ -10,7 +10,7 @@ WINDOW *setup_gfx(void); -void teardown_gfx(); +void teardown_gfx(void); void draw_debug(struct game *g, int x, int y); diff --git a/src/gfx.c b/src/gfx.c index 656d963..8d0f9a6 100644 --- a/src/gfx.c +++ b/src/gfx.c @@ -29,7 +29,7 @@ WINDOW *setup_gfx(void) return win; } -void teardown_gfx() +void teardown_gfx(void) { endwin(); } diff --git a/src/main.c b/src/main.c index 8db9b9e..7d3abec 100644 --- a/src/main.c +++ b/src/main.c @@ -7,7 +7,7 @@ #include "../include/queue.h" #include "../include/gfx.h" -#define TINYCOLS_VERSION "0.8.1" +#define TINYCOLS_VERSION "0.8.2" #define TICK_TIME 10000 #define MAX_TIMER 180