Enable strict prototypes warnings, and fix warnings

If a host project has -Wstrict-prototypes enabled, the mdbtools header
results in warnings. Turn on -Wstrict-prototypes for the whole project
so that these never occur again.
This commit is contained in:
Evan Miller
2018-12-29 10:34:54 -05:00
parent b753ff36a0
commit cdde7c3268
5 changed files with 10 additions and 10 deletions

View File

@@ -35,7 +35,7 @@
static int is_init;
GHashTable *mdb_backends;
void _mdb_remove_backends();
void _mdb_remove_backends(void);
/* Access data types */
static MdbBackendType mdb_access_types[] = {

View File

@@ -31,7 +31,7 @@
static unsigned long opts;
static int optset;
static void load_options();
static void load_options(void);
void
mdb_debug(int klass, char *fmt, ...)