From 29a40f63dabe2e3ca44b0f117d043ee9d6846d11 Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Tue, 1 Aug 2023 19:53:43 +0200 Subject: [PATCH] Add missing unload to include --- src/include/main.h | 1 + src/main.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/main.h b/src/include/main.h index 57dcb67..dc98ebb 100644 --- a/src/include/main.h +++ b/src/include/main.h @@ -3,6 +3,7 @@ #define MAIN_H_ void load(void); +void unload(void); void self_unload(void); #endif /* MAIN_H_ */ diff --git a/src/main.c b/src/main.c index 4639e41..45e9f2a 100644 --- a/src/main.c +++ b/src/main.c @@ -45,7 +45,7 @@ void load(void) { } __attribute__((destructor)) /* Entry point when unloaded */ -void unload() { +void unload(void) { if (loaded) { /* TODO: Remove our cvars */