Browse code

*** empty log message ***

Jan Janak authored on 12/05/2002 16:17:58
Showing 1 changed files
... ...
@@ -14,19 +14,23 @@
14 14
 struct sr_module* modules=0;
15 15
 
16 16
 #ifdef STATIC_TM
17
-	extern struct module_exports* tm_mod_register();
17
+	extern struct module_exports* tm_exports();
18 18
 #endif
19
+
19 20
 #ifdef STATIC_MAXFWD
20
-	extern struct module_exports* maxfwd_mod_register();
21
+	extern struct module_exports* maxfwd_exports();
21 22
 #endif
23
+
22 24
 #ifdef STATIC_AUTH
23
-        extern struct module_exports* auth_mod_register();
25
+        extern struct module_exports* auth_exports();
24 26
 #endif
27
+
25 28
 #ifdef STATIC_RR
26
-        extern struct module_exports* rr_mod_register();
29
+        extern struct module_exports* rr_exports();
27 30
 #endif
31
+
28 32
 #ifdef STATIC_USRLOC
29
-        extern struct module_exports* usrloc_mod_register();
33
+        extern struct module_exports* usrloc_exports();
30 34
 #endif
31 35
 
32 36
 
... ...
@@ -36,28 +40,29 @@ int register_builtin_modules()
36 36
 	int ret;
37 37
 
38 38
 	ret=0;
39
-	#ifdef STATIC_TM
40
-		ret=register_module(tm_exports,"built-in", 0); 
41
-		if (ret<0) return ret;
42
-	#endif
43
-	#ifdef STATIC_MAXFWD
44
-		ret=register_module(maxfwd_exports, "built-in", 0);
45
-		if (ret<0) return ret;
46
-	#endif
39
+#ifdef STATIC_TM
40
+	ret=register_module(tm_exports,"built-in", 0); 
41
+	if (ret<0) return ret;
42
+#endif
47 43
 
48
-#ifdef STATIC_AUTH
49
-		ret=register_module(auth_exports, "built-in", 0); 
50
-		if (ret<0) return ret;
44
+#ifdef STATIC_MAXFWD
45
+	ret=register_module(maxfwd_exports, "built-in", 0);
46
+	if (ret<0) return ret;
51 47
 #endif
52 48
 
49
+#ifdef STATIC_AUTH
50
+	ret=register_module(auth_exports, "built-in", 0); 
51
+	if (ret<0) return ret;
52
+#endif
53
+	
53 54
 #ifdef STATIC_RR
54
-		ret=register_module(rr_exports, "built-in", 0);
55
-		if (ret<0) return ret;
55
+	ret=register_module(rr_exports, "built-in", 0);
56
+	if (ret<0) return ret;
56 57
 #endif
57
-
58
+	
58 59
 #ifdef STATIC_USRLOC
59
-		ret=register_module(usrloc_exports, "built-in", 0);
60
-		if (ret<0) return ret;
60
+	ret=register_module(usrloc_exports, "built-in", 0);
61
+	if (ret<0) return ret;
61 62
 #endif
62 63
 	
63 64
 	return ret;