From: Gregor Beck Date: Tue, 25 Oct 2011 12:51:23 +0000 (+0200) Subject: s3:dbwrap: remove unused args from db_open_file() X-Git-Tag: ldb-1.1.14~614 X-Git-Url: http://git.samba.org/samba.git/?p=nivanova%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=c3f1aed86f7f414ecdf676d52011c396e65aa374 s3:dbwrap: remove unused args from db_open_file() Signed-off-by: Stefan Metzmacher --- 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);