diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-09-05 15:59:49 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-09-05 15:59:49 +0300 |
commit | 1c5682ae2d1095cfdb2575a97f59efc2b673772b (patch) | |
tree | 295b2cf9e7abc9311783d08ecc04a44e1cd7f7d6 | |
parent | 954d267b9de7abdfe9e73ce3372bbade918ebe1a (diff) | |
download | dico-1c5682ae2d1095cfdb2575a97f59efc2b673772b.tar.gz dico-1c5682ae2d1095cfdb2575a97f59efc2b673772b.tar.bz2 |
Fix init_db decalaration in all modules
-rw-r--r-- | modules/dict.org/dictorg.c | 2 | ||||
-rw-r--r-- | modules/gcide/gcide.c | 2 | ||||
-rw-r--r-- | modules/guile/guile.c | 2 | ||||
-rw-r--r-- | modules/outline/outline.c | 2 | ||||
-rw-r--r-- | modules/python/python.c | 2 | ||||
-rw-r--r-- | modules/python/python2.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/modules/dict.org/dictorg.c b/modules/dict.org/dictorg.c index 6a6e282..2f0dbf3 100644 --- a/modules/dict.org/dictorg.c +++ b/modules/dict.org/dictorg.c @@ -393,7 +393,7 @@ open_stream(struct dictdb *db) static int compare_entry(const void *a, const void *b); static dico_handle_t -mod_init_db(const char *dbname, int argc, char **argv) +mod_init_db(const char *dbname, int argc, char **argv, void *extra) { struct dictdb *db; char *filename = NULL; diff --git a/modules/gcide/gcide.c b/modules/gcide/gcide.c index c0e46cb..38048c4 100644 --- a/modules/gcide/gcide.c +++ b/modules/gcide/gcide.c @@ -223,7 +223,7 @@ gcide_open_idx(struct gcide_db *db) } static dico_handle_t -gcide_init_db(const char *dbname, int argc, char **argv) +gcide_init_db(const char *dbname, int argc, char **argv, void *extra) { char *db_dir = NULL; char *idx_dir = NULL; diff --git a/modules/guile/guile.c b/modules/guile/guile.c index 24c4cd0..a0710fd 100644 --- a/modules/guile/guile.c +++ b/modules/guile/guile.c @@ -815,7 +815,7 @@ mod_init(int argc, char **argv) } static dico_handle_t -mod_init_db(const char *dbname, int argc, char **argv) +mod_init_db(const char *dbname, int argc, char **argv, void *extra) { struct _guile_database *db; int i; diff --git a/modules/outline/outline.c b/modules/outline/outline.c index 18e7dd3..aeb5554 100644 --- a/modules/outline/outline.c +++ b/modules/outline/outline.c @@ -463,7 +463,7 @@ outline_free_db (dico_handle_t hp) } static dico_handle_t -outline_init_db(const char *dbname, int argc, char **argv) +outline_init_db(const char *dbname, int argc, char **argv, void *extra) { FILE *fp; struct outline_file *file; diff --git a/modules/python/python.c b/modules/python/python.c index fa2b009..24d81dc 100644 --- a/modules/python/python.c +++ b/modules/python/python.c @@ -480,7 +480,7 @@ dico_module_init (void) } static dico_handle_t -mod_init_db (const char *dbname, int argc, char **argv) +mod_init_db (const char *dbname, int argc, char **argv, void *extra) { int pindex; struct _python_database *db; diff --git a/modules/python/python2.c b/modules/python/python2.c index f44cfd8..1b3fd21 100644 --- a/modules/python/python2.c +++ b/modules/python/python2.c @@ -412,7 +412,7 @@ declare_constants(PyObject *module) } static dico_handle_t -mod_init_db (const char *dbname, int argc, char **argv) +mod_init_db (const char *dbname, int argc, char **argv, void *extra) { int pindex; struct _python_database *db; |