Module: kamailio
Branch: master
Commit: 5d7fe2c2e9d4669003681086651041ec5e74500a
URL:
https://github.com/kamailio/kamailio/commit/5d7fe2c2e9d4669003681086651041e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-01-13T10:46:11+01:00
sanity: main file of the module renamed to sanity_mod.c
---
Added: src/modules/sanity/sanity_mod.c
Added: src/modules/sanity/sanity_mod.h
Modified: src/modules/sanity/Makefile
Modified: src/modules/sanity/sanity.c
Modified: src/modules/sanity/sanity.h
Removed: src/modules/sanity/mod_sanity.c
Removed: src/modules/sanity/mod_sanity.h
---
Diff:
https://github.com/kamailio/kamailio/commit/5d7fe2c2e9d4669003681086651041e…
Patch:
https://github.com/kamailio/kamailio/commit/5d7fe2c2e9d4669003681086651041e…
---
diff --git a/src/modules/sanity/Makefile b/src/modules/sanity/Makefile
old mode 100755
new mode 100644
diff --git a/src/modules/sanity/sanity.c b/src/modules/sanity/sanity.c
index 99faca9..7ddbb3d 100644
--- a/src/modules/sanity/sanity.c
+++ b/src/modules/sanity/sanity.c
@@ -21,7 +21,7 @@
*
*/
-#include "mod_sanity.h"
+#include "sanity_mod.h"
#include "sanity.h"
#include "../../core/ut.h"
#include "../../core/trim.h"
diff --git a/src/modules/sanity/sanity.h b/src/modules/sanity/sanity.h
index eec273e..2bf50c7 100644
--- a/src/modules/sanity/sanity.h
+++ b/src/modules/sanity/sanity.h
@@ -24,7 +24,7 @@
#ifndef SANITY_CHK_H
#define SANITY_CHK_H
-#include "mod_sanity.h"
+#include "sanity_mod.h"
#define SIP_VERSION_TWO_POINT_ZERO "2.0"
#define SIP_VERSION_TWO_POINT_ZERO_LENGTH 3
diff --git a/src/modules/sanity/mod_sanity.c b/src/modules/sanity/sanity_mod.c
similarity index 99%
rename from src/modules/sanity/mod_sanity.c
rename to src/modules/sanity/sanity_mod.c
index 5a2579e..0575fd1 100644
--- a/src/modules/sanity/mod_sanity.c
+++ b/src/modules/sanity/sanity_mod.c
@@ -21,7 +21,7 @@
*
*/
-#include "mod_sanity.h"
+#include "sanity_mod.h"
#include "sanity.h"
#include "api.h"
#include "../../core/sr_module.h"
diff --git a/src/modules/sanity/mod_sanity.h b/src/modules/sanity/sanity_mod.h
similarity index 100%
rename from src/modules/sanity/mod_sanity.h
rename to src/modules/sanity/sanity_mod.h