[SR-Dev] git:janakj/bdb: Add km_prefix to locally included header files.

Jan Janak jan at iptel.org
Thu Feb 19 15:06:00 CET 2009


Module: sip-router
Branch: janakj/bdb
Commit: 048ca8ebe82398d347fc054773a850668ff33ef0
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=048ca8ebe82398d347fc054773a850668ff33ef0

Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date:   Thu Feb 19 12:50:28 2009 +0100

Add km_prefix to locally included header files.

---

 modules/db_berkeley/km_bdb_lib.c     |    6 +++---
 modules/db_berkeley/km_bdb_mi.c      |    4 ++--
 modules/db_berkeley/km_bdb_res.c     |    2 +-
 modules/db_berkeley/km_bdb_res.h     |    4 ++--
 modules/db_berkeley/km_bdb_util.c    |    2 +-
 modules/db_berkeley/km_bdb_val.c     |    6 +++---
 modules/db_berkeley/km_db_berkeley.c |    8 ++++----
 7 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/modules/db_berkeley/km_bdb_lib.c b/modules/db_berkeley/km_bdb_lib.c
index 1592bf6..b3b6c46 100644
--- a/modules/db_berkeley/km_bdb_lib.c
+++ b/modules/db_berkeley/km_bdb_lib.c
@@ -36,9 +36,9 @@
 #include "../../mem/mem.h"
 #include "../../dprint.h"
 
-#include "bdb_util.h"
-#include "bdb_lib.h"
-#include "bdb_val.h"
+#include "km_bdb_util.h"
+#include "km_bdb_lib.h"
+#include "km_bdb_val.h"
 
 static database_p *_cachedb = NULL;
 static db_parms_p _db_parms = NULL;
diff --git a/modules/db_berkeley/km_bdb_mi.c b/modules/db_berkeley/km_bdb_mi.c
index e7f10fa..6769751 100644
--- a/modules/db_berkeley/km_bdb_mi.c
+++ b/modules/db_berkeley/km_bdb_mi.c
@@ -29,8 +29,8 @@
 
 #include "../../dprint.h"
 #include "../../db/db.h"
-#include "db_berkeley.h"
-#include "bdb_mi.h"
+#include "km_db_berkeley.h"
+#include "km_bdb_mi.h"
 
 
 /*
diff --git a/modules/db_berkeley/km_bdb_res.c b/modules/db_berkeley/km_bdb_res.c
index 0049d7b..f527b6a 100644
--- a/modules/db_berkeley/km_bdb_res.c
+++ b/modules/db_berkeley/km_bdb_res.c
@@ -31,7 +31,7 @@
 #include <string.h>
 #include <sys/types.h>
 #include "../../mem/mem.h"
-#include "bdb_res.h"
+#include "km_bdb_res.h"
 
 
 int bdb_get_columns(table_p _tp, db_res_t* _res, int* _lres, int _nc)
diff --git a/modules/db_berkeley/km_bdb_res.h b/modules/db_berkeley/km_bdb_res.h
index fda96f3..0bce9e1 100644
--- a/modules/db_berkeley/km_bdb_res.h
+++ b/modules/db_berkeley/km_bdb_res.h
@@ -34,8 +34,8 @@
 #include "../../db/db_op.h"
 #include "../../db/db_res.h"
 #include "../../db/db_con.h"
-#include "bdb_lib.h"
-#include "bdb_val.h"
+#include "km_bdb_lib.h"
+#include "km_bdb_val.h"
 
 typedef struct _con
 {
diff --git a/modules/db_berkeley/km_bdb_util.c b/modules/db_berkeley/km_bdb_util.c
index f6546c4..0fd8cc2 100644
--- a/modules/db_berkeley/km_bdb_util.c
+++ b/modules/db_berkeley/km_bdb_util.c
@@ -31,7 +31,7 @@
 #include <sys/types.h>
 #include <dirent.h>
 
-#include "bdb_util.h"
+#include "km_bdb_util.h"
 
 /**
  *
diff --git a/modules/db_berkeley/km_bdb_val.c b/modules/db_berkeley/km_bdb_val.c
index 1f20c9c..26b9066 100644
--- a/modules/db_berkeley/km_bdb_val.c
+++ b/modules/db_berkeley/km_bdb_val.c
@@ -30,9 +30,9 @@
 
 #include "../../db/db_val.h"
 #include "../../db/db_ut.h"
-#include "db_berkeley.h"
-#include "bdb_res.h"
-#include "bdb_val.h"
+#include "km_db_berkeley.h"
+#include "km_bdb_res.h"
+#include "km_bdb_val.h"
 #include <string.h>
 
 /**
diff --git a/modules/db_berkeley/km_db_berkeley.c b/modules/db_berkeley/km_db_berkeley.c
index c88adae..f1ba785 100644
--- a/modules/db_berkeley/km_db_berkeley.c
+++ b/modules/db_berkeley/km_db_berkeley.c
@@ -39,10 +39,10 @@
 #include "../../sr_module.h"
 #include "../../db/db_res.h"
 #include "../../db/db.h"
-#include "db_berkeley.h"
-#include "bdb_lib.h"
-#include "bdb_res.h"
-#include "bdb_mi.h"
+#include "km_db_berkeley.h"
+#include "km_bdb_lib.h"
+#include "km_bdb_res.h"
+#include "km_bdb_mi.h"
 
 #ifndef CFG_DIR
 #define CFG_DIR "/tmp"




More information about the sr-dev mailing list