]> git.draconx.ca Git - upkg.git/commitdiff
engine: Define the exit method.
authorNick Bowler <nbowler@draconx.ca>
Wed, 7 Jul 2010 00:21:43 +0000 (20:21 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 7 Jul 2010 00:21:43 +0000 (20:21 -0400)
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.

src/engine/engine.c

index 7fad84291147863968a185dd3528587e4b9acb0b..1d9372c1c95943282757874f309d3e43e8ad022e 100644 (file)
@@ -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)
+{
+}