[SR-Dev] git:janakj/flatstore: Added prefix km_ to locally included header files.

Jan Janak jan at iptel.org
Wed Feb 18 23:59:06 CET 2009


Module: sip-router
Branch: janakj/flatstore
Commit: 619951f5cf36ee3c826c2ddeb248f1574be086b1
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=619951f5cf36ee3c826c2ddeb248f1574be086b1

Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date:   Wed Feb 18 16:43:09 2009 +0100

Added prefix km_ to locally included header files.

---

 modules/db_flatstore/km_flat_con.c      |    4 ++--
 modules/db_flatstore/km_flat_con.h      |    2 +-
 modules/db_flatstore/km_flat_id.c       |    2 +-
 modules/db_flatstore/km_flat_mi.c       |    2 +-
 modules/db_flatstore/km_flat_pool.c     |    4 ++--
 modules/db_flatstore/km_flat_pool.h     |    2 +-
 modules/db_flatstore/km_flatstore.c     |    8 ++++----
 modules/db_flatstore/km_flatstore_mod.c |    6 +++---
 8 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/modules/db_flatstore/km_flat_con.c b/modules/db_flatstore/km_flat_con.c
index d415ba2..7321b65 100644
--- a/modules/db_flatstore/km_flat_con.c
+++ b/modules/db_flatstore/km_flat_con.c
@@ -27,8 +27,8 @@
 #include "../../mem/mem.h"
 #include "../../dprint.h"
 #include "../../ut.h"
-#include "flatstore_mod.h"
-#include "flat_con.h"
+#include "km_flatstore_mod.h"
+#include "km_flat_con.h"
 
 #define FILE_SUFFIX ".log"
 #define FILE_SUFFIX_LEN (sizeof(FILE_SUFFIX) - 1)
diff --git a/modules/db_flatstore/km_flat_con.h b/modules/db_flatstore/km_flat_con.h
index ae02a30..0c21e17 100644
--- a/modules/db_flatstore/km_flat_con.h
+++ b/modules/db_flatstore/km_flat_con.h
@@ -27,7 +27,7 @@
 
 #include <stdio.h>
 #include <time.h>
-#include "flat_id.h"
+#include "km_flat_id.h"
 
 struct flat_con {
 	struct flat_id* id;    /* Connection identifier */
diff --git a/modules/db_flatstore/km_flat_id.c b/modules/db_flatstore/km_flat_id.c
index 708f98f..3294528 100644
--- a/modules/db_flatstore/km_flat_id.c
+++ b/modules/db_flatstore/km_flat_id.c
@@ -25,7 +25,7 @@
 #include <string.h>
 #include "../../dprint.h"
 #include "../../mem/mem.h"
-#include "flat_id.h"
+#include "km_flat_id.h"
 
 
 
diff --git a/modules/db_flatstore/km_flat_mi.c b/modules/db_flatstore/km_flat_mi.c
index 5cac83d..992e2a4 100644
--- a/modules/db_flatstore/km_flat_mi.c
+++ b/modules/db_flatstore/km_flat_mi.c
@@ -23,7 +23,7 @@
  */
 
 #include "flatstore_mod.h"
-#include "flat_mi.h"
+#include "km_flat_mi.h"
 
 
 struct mi_root*  mi_flat_rotate_cmd(struct mi_root* cmd_tree, void* param)
diff --git a/modules/db_flatstore/km_flat_pool.c b/modules/db_flatstore/km_flat_pool.c
index eca5884..72d5c85 100644
--- a/modules/db_flatstore/km_flat_pool.c
+++ b/modules/db_flatstore/km_flat_pool.c
@@ -24,8 +24,8 @@
 
 #include <unistd.h>
 #include "../../dprint.h"
-#include "flat_pool.h"
-#include "flat_id.h"
+#include "km_flat_pool.h"
+#include "km_flat_id.h"
 
 
 /* The head of the pool */
diff --git a/modules/db_flatstore/km_flat_pool.h b/modules/db_flatstore/km_flat_pool.h
index 8c103fc..616e63a 100644
--- a/modules/db_flatstore/km_flat_pool.h
+++ b/modules/db_flatstore/km_flat_pool.h
@@ -25,7 +25,7 @@
 #ifndef _KM_FLAT_POOL_H
 #define _KM_FLAT_POOL_H
 
-#include "flat_con.h"
+#include "km_flat_con.h"
 
 /*
  * Get a connection from the pool, reuse existing
diff --git a/modules/db_flatstore/km_flatstore.c b/modules/db_flatstore/km_flatstore.c
index e6e96b9..1f85482 100644
--- a/modules/db_flatstore/km_flatstore.c
+++ b/modules/db_flatstore/km_flatstore.c
@@ -31,10 +31,10 @@
 #include <ctype.h>
 #include "../../mem/mem.h"
 #include "../../dprint.h"
-#include "flat_pool.h"
-#include "flat_con.h"
-#include "flatstore_mod.h"
-#include "flatstore.h"
+#include "km_flat_pool.h"
+#include "km_flat_con.h"
+#include "km_flatstore_mod.h"
+#include "km_flatstore.h"
 
 
 static int parse_flat_url(const str* url, str* path)
diff --git a/modules/db_flatstore/km_flatstore_mod.c b/modules/db_flatstore/km_flatstore_mod.c
index 443ad9a..c24343a 100644
--- a/modules/db_flatstore/km_flatstore_mod.c
+++ b/modules/db_flatstore/km_flatstore_mod.c
@@ -30,9 +30,9 @@
 #include "../../sr_module.h"
 #include "../../mem/shm_mem.h"
 #include "../../db/db.h"
-#include "flatstore.h"
-#include "flat_mi.h"
-#include "flatstore_mod.h"
+#include "km_flatstore.h"
+#include "km_flat_mi.h"
+#include "km_flatstore_mod.h"
 
 MODULE_VERSION
 




More information about the sr-dev mailing list