Branch: Tag:

2003-02-18

2003-02-18 10:35:38 by Martin Stjernholm <mast@lysator.liu.se>

Compatibility fixes to compile with 7.2, 7.4 and 7.5.

Rev: src/modules/_WhiteFish/whitefish.c:1.34

3:   #include "global.h"   #include "stralloc.h"   #include "global.h" - RCSID("$Id: whitefish.c,v 1.33 2002/01/02 12:48:46 js Exp $"); + RCSID("$Id: whitefish.c,v 1.34 2003/02/18 10:35:38 mast Exp $");   #include "pike_macros.h"   #include "interpret.h"   #include "program.h"
12:   #include "operators.h"   #include "array.h"   #include "module_support.h" + #include "module.h"      #include "config.h"   
21:   #include "blobs.h"   #include "linkfarm.h"    + /* 7.2 compatibility stuff. */ +  + #ifndef PIKE_MODULE_INIT   /* must be included last */   #include "module_magic.h" -  + #define PIKE_MODULE_INIT void pike_module_init(void) + #define PIKE_MODULE_EXIT void pike_module_exit(void) + #endif      struct tofree   {
628:   }       - void pike_module_init(void) + PIKE_MODULE_INIT   {    init_resultset_program();    init_blob_program();
651:    0 );   }    - void pike_module_exit(void) + PIKE_MODULE_EXIT   {    exit_resultset_program();    exit_blob_program();    exit_blobs_program();    exit_linkfarm_program();   }