From c3f1aed86f7f414ecdf676d52011c396e65aa374 Mon Sep 17 00:00:00 2001 From: Gregor Beck Date: Tue, 25 Oct 2011 14:51:23 +0200 Subject: [PATCH] s3:dbwrap: remove unused args from db_open_file() Signed-off-by: Stefan Metzmacher --- lib/dbwrap/dbwrap_file.c | 3 +-- lib/dbwrap/dbwrap_file.h | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/dbwrap/dbwrap_file.c b/lib/dbwrap/dbwrap_file.c index 54ed3208642..50e43b7baef 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 002f64dce5f..17667034ecb 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); -- 2.11.4.GIT