From: Nick Bowler Date: Wed, 7 Jul 2010 00:21:43 +0000 (-0400) Subject: engine: Define the exit method. X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/commitdiff_plain/7afdb339a5858e73d1ea7d3f6bcc394b84886816?hp=d414b6caf298b8cd6044330678ac5a54a7d10398 engine: Define the exit method. Apparently, libltdl falls back to looking up the "unadorned" symbol names if the _LTX_ symbols are not found. This means it finds exit in the C library instead of returning an error, with obvious consequences. --- diff --git a/src/engine/engine.c b/src/engine/engine.c index 7fad842..1d9372c 100644 --- a/src/engine/engine.c +++ b/src/engine/engine.c @@ -23,6 +23,7 @@ #include "texture.h" #define init engine_LTX_init +#define exit engine_LTX_exit int init(GTypeModule *m) { @@ -30,3 +31,7 @@ int init(GTypeModule *m) texture_register(m); return 0; } + +void exit(void) +{ +}