Add missing unload to include
This commit is contained in:
parent
b7c6e74dd4
commit
29a40f63da
|
@ -3,6 +3,7 @@
|
||||||
#define MAIN_H_
|
#define MAIN_H_
|
||||||
|
|
||||||
void load(void);
|
void load(void);
|
||||||
|
void unload(void);
|
||||||
void self_unload(void);
|
void self_unload(void);
|
||||||
|
|
||||||
#endif /* MAIN_H_ */
|
#endif /* MAIN_H_ */
|
||||||
|
|
|
@ -45,7 +45,7 @@ void load(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
__attribute__((destructor)) /* Entry point when unloaded */
|
__attribute__((destructor)) /* Entry point when unloaded */
|
||||||
void unload() {
|
void unload(void) {
|
||||||
if (loaded) {
|
if (loaded) {
|
||||||
/* TODO: Remove our cvars */
|
/* TODO: Remove our cvars */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue