2
0
Эх сурвалжийг харах

pua_mi: gcc 2.95 compile fixes

- variables must be declared at the beginning of a block
Andrei Pelinescu-Onciul 16 жил өмнө
parent
commit
18ff125720

+ 2 - 1
modules_k/pua_mi/pua_mi.c

@@ -84,9 +84,10 @@ struct module_exports exports= {
  */
  */
 static int mod_init(void)
 static int mod_init(void)
 {
 {
-	LM_DBG("...\n");
 	bind_pua_t bind_pua;
 	bind_pua_t bind_pua;
 	
 	
+	LM_DBG("...\n");
+	
 	if(register_mi_mod(exports.name, mi_cmds)!=0)
 	if(register_mi_mod(exports.name, mi_cmds)!=0)
 	{
 	{
 		LM_ERR("failed to register MI commands\n");
 		LM_ERR("failed to register MI commands\n");