浏览代码

msilo: set parameter names in prototypes

- used in genrating the index for kemi exports
Daniel-Constantin Mierla 7 年之前
父节点
当前提交
4fbbc544c2
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/modules/msilo/msilo.c

+ 5 - 5
src/modules/msilo/msilo.c

@@ -146,8 +146,8 @@ static int ms_skip_notification_flag = -1;
 static int mod_init(void);
 static int child_init(int);
 
-static int m_store(struct sip_msg*, str*);
-static int m_dump(struct sip_msg*, str*);
+static int m_store(sip_msg_t *masg, str *owner_s);
+static int m_dump(sip_msg_t *msg, str *owner_s);
 
 static int m_store_2(struct sip_msg*, char*, char*);
 static int m_dump_2(struct sip_msg*, char*, char*);
@@ -544,7 +544,7 @@ static int get_non_mandatory_headers(struct sip_msg *msg, char *buf, int buf_len
  * 		= "2" -- look for outgoing URI only at to header
  */
 
-static int m_store(struct sip_msg* msg, str *owner_s)
+static int m_store(sip_msg_t* msg, str *owner_s)
 {
 	str body, str_hdr, ctaddr;
 	struct to_body *pto, *pfrom;
@@ -935,7 +935,7 @@ static int ki_m_store(sip_msg_t* msg)
 /**
  * dump message
  */
-static int m_dump(struct sip_msg* msg, str* owner_s)
+static int m_dump(sip_msg_t* msg, str* owner_s)
 {
 	struct to_body *pto = NULL;
 	db_key_t db_keys[3];
@@ -1652,4 +1652,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
 {
 	sr_kemi_modules_add(sr_kemi_msilo_exports);
 	return 0;
-}
+}