summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/dbwrap/dbwrap_file.c3
-rw-r--r--lib/dbwrap/dbwrap_file.h5
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/dbwrap/dbwrap_file.c b/lib/dbwrap/dbwrap_file.c
index 54ed320864..50e43b7bae 100644
--- a/lib/dbwrap/dbwrap_file.c
+++ b/lib/dbwrap/dbwrap_file.c
@@ -347,9 +347,8 @@ static int db_file_traverse(struct db_context *db,
}
struct db_context *db_open_file(TALLOC_CTX *mem_ctx,
- struct messaging_context *msg_ctx,
const char *name,
- int hash_size, int tdb_flags,
+ int tdb_flags,
int open_flags, mode_t mode)
{
struct db_context *result = NULL;
diff --git a/lib/dbwrap/dbwrap_file.h b/lib/dbwrap/dbwrap_file.h
index 002f64dce5..17667034ec 100644
--- a/lib/dbwrap/dbwrap_file.h
+++ b/lib/dbwrap/dbwrap_file.h
@@ -24,12 +24,9 @@
struct db_context;
-struct messaging_context;
-
struct db_context *db_open_file(TALLOC_CTX *mem_ctx,
- struct messaging_context *msg_ctx,
const char *name,
- int hash_size, int tdb_flags,
+ int tdb_flags,
int open_flags, mode_t mode);