[SR-Dev] git:janakj/bdb: Include bdb_mod. h and remove variables available there from the file.

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


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

Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date:   Thu Feb 19 14:17:44 2009 +0100

Include bdb_mod.h and remove variables available there from the file.

---

 modules/db_berkeley/km_db_berkeley.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/modules/db_berkeley/km_db_berkeley.c b/modules/db_berkeley/km_db_berkeley.c
index 7dcd705..dbd2f17 100644
--- a/modules/db_berkeley/km_db_berkeley.c
+++ b/modules/db_berkeley/km_db_berkeley.c
@@ -43,6 +43,7 @@
 #include "km_bdb_lib.h"
 #include "km_bdb_res.h"
 #include "km_bdb_mi.h"
+#include "bdb_mod.h"
 
 #ifndef CFG_DIR
 #define CFG_DIR "/tmp"
@@ -57,10 +58,6 @@
 
 /*MODULE_VERSION*/
 
-int auto_reload = 0;
-int log_enable  = 0;
-int journal_roll_interval = 0;
-
 static int mod_init(void);
 static void destroy(void);
 




More information about the sr-dev mailing list