瀏覽代碼

pua_mi: gcc 2.95 compile fixes

- variables must be declared at the beginning of a block
Andrei Pelinescu-Onciul 16 年之前
父節點
當前提交
18ff125720
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      modules_k/pua_mi/pua_mi.c

+ 2 - 1
modules_k/pua_mi/pua_mi.c

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