s3:dbwrap: remove unused args from db_open_file()
authorGregor Beck <gbeck@sernet.de>
Tue, 25 Oct 2011 12:51:23 +0000 (14:51 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Sep 2012 14:26:38 +0000 (16:26 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
lib/dbwrap/dbwrap_file.c
lib/dbwrap/dbwrap_file.h

index 54ed3208642e2782a6ac897abfe1b87b2691a32c..50e43b7baef56fd15a34364d1dc7ecbf601af6c6 100644 (file)
@@ -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;
index 002f64dce5f69cc2e18c377215f9320b9a229596..17667034ecb03b71b3c46c365d86bea6bd359fd2 100644 (file)
 
 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);