Преглед на файлове

Modules can be linked staticaly again.

Jan Janak преди 23 години
родител
ревизия
0d5816ae8c
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      modules/tm/tm.c

+ 4 - 0
modules/tm/tm.c

@@ -46,7 +46,11 @@ static int fixup_t_flag(void** param, int param_no);
 
 
 static int mod_init(void);
 static int mod_init(void);
 
 
+#ifdef STATIC_TM
+struct module_exports tm_exports = {
+#else
 struct module_exports exports= {
 struct module_exports exports= {
+#endif
 	"tm_module",
 	"tm_module",
 	(char*[]){			
 	(char*[]){			
 				"t_add_transaction",
 				"t_add_transaction",