Module: kamailio
Branch: master
Commit: b3c981db67845622fb8c85a20e18e1b98c29eb69
URL:
https://github.com/kamailio/kamailio/commit/b3c981db67845622fb8c85a20e18e1b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-04T19:01:21+02:00
uid_domain: use module specific include guards
---
Modified: src/modules/uid_domain/domain.h
Modified: src/modules/uid_domain/domain_api.h
Modified: src/modules/uid_domain/domain_rpc.h
Modified: src/modules/uid_domain/hash.h
Modified: src/modules/uid_domain/uid_domain_mod.h
---
Diff:
https://github.com/kamailio/kamailio/commit/b3c981db67845622fb8c85a20e18e1b…
Patch:
https://github.com/kamailio/kamailio/commit/b3c981db67845622fb8c85a20e18e1b…
---
diff --git a/src/modules/uid_domain/domain.h b/src/modules/uid_domain/domain.h
index 44ad7ee4db..c52417a601 100644
--- a/src/modules/uid_domain/domain.h
+++ b/src/modules/uid_domain/domain.h
@@ -19,8 +19,8 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _DOMAIN_H
-#define _DOMAIN_H
+#ifndef _UID_DOMAIN_H_
+#define _UID_DOMAIN_H_
#include <time.h>
#include <stdio.h>
diff --git a/src/modules/uid_domain/domain_api.h b/src/modules/uid_domain/domain_api.h
index acc957971f..4a64a469cb 100644
--- a/src/modules/uid_domain/domain_api.h
+++ b/src/modules/uid_domain/domain_api.h
@@ -20,8 +20,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _DOMAIN_API_H
-#define _DOMAIN_API_H
+#ifndef _UID_DOMAIN_API_H_
+#define _UID_DOMAIN_API_H_
#include "../../core/sr_module.h"
#include "../../core/dprint.h"
diff --git a/src/modules/uid_domain/domain_rpc.h b/src/modules/uid_domain/domain_rpc.h
index 27641b6d47..996e7f01aa 100644
--- a/src/modules/uid_domain/domain_rpc.h
+++ b/src/modules/uid_domain/domain_rpc.h
@@ -20,8 +20,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _DOMAIN_RPC_H
-#define _DOMAIN_RPC_H
+#ifndef _UID_DOMAIN_RPC_H_
+#define _UID_DOMAIN_RPC_H_
#include "../../core/rpc.h"
diff --git a/src/modules/uid_domain/hash.h b/src/modules/uid_domain/hash.h
index e72616f775..1c07a83321 100644
--- a/src/modules/uid_domain/hash.h
+++ b/src/modules/uid_domain/hash.h
@@ -20,8 +20,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _HASH_H
-#define _HASH_H
+#ifndef _UID_DOMAIN_HASH_H_
+#define _UID_DOMAIN_HASH_H_
#include <stdio.h>
#include "uid_domain_mod.h"
diff --git a/src/modules/uid_domain/uid_domain_mod.h
b/src/modules/uid_domain/uid_domain_mod.h
index 4f15b6d0ef..75c21c2175 100644
--- a/src/modules/uid_domain/uid_domain_mod.h
+++ b/src/modules/uid_domain/uid_domain_mod.h
@@ -20,8 +20,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _UID_DOMAIN_MOD_H
-#define _UID_DOMAIN_MOD_H
+#ifndef _UID_DOMAIN_MOD_H_
+#define _UID_DOMAIN_MOD_H_
#include "../../lib/srdb2/db.h"
#include "../../core/str.h"