diff options
author | Gregor Beck <gbeck@sernet.de> | 2011-10-25 14:51:23 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-09-21 16:26:38 +0200 |
commit | c3f1aed86f7f414ecdf676d52011c396e65aa374 (patch) | |
tree | 0a97b541f4d6c5bb8b2544cb8d545ff325a6b0bb | |
parent | fe74b777d2beb6d033b68c271d9c869789cc4ac5 (diff) | |
download | samba-c3f1aed86f7f414ecdf676d52011c396e65aa374.tar.gz samba-c3f1aed86f7f414ecdf676d52011c396e65aa374.tar.bz2 samba-c3f1aed86f7f414ecdf676d52011c396e65aa374.zip |
s3:dbwrap: remove unused args from db_open_file()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | lib/dbwrap/dbwrap_file.c | 3 | ||||
-rw-r--r-- | 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 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); |