aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sqlite
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/sqlite.c4
-rw-r--r--src/sqlite.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/sqlite.c b/src/sqlite.c
index 9134528..344e98a 100644
--- a/src/sqlite.c
+++ b/src/sqlite.c
@@ -28,7 +28,7 @@
sqlite_errno(CONCAT(ret, __LINE__), fn); \
} while (0)
-int sqlite_init()
+int sqlite_init(void)
{
int ret = 0;
@@ -41,7 +41,7 @@ int sqlite_init()
return ret;
}
-void sqlite_destroy()
+void sqlite_destroy(void)
{
sqlite_errno_if(sqlite3_shutdown(), "sqlite3_shutdown");
}
diff --git a/src/sqlite.h b/src/sqlite.h
index bb46288..5a6a548 100644
--- a/src/sqlite.h
+++ b/src/sqlite.h
@@ -10,8 +10,8 @@
#include <sqlite3.h>
-int sqlite_init();
-void sqlite_destroy();
+int sqlite_init(void);
+void sqlite_destroy(void);
int sqlite_open(const char *path, sqlite3 **db, int flags);
int sqlite_open_rw(const char *path, sqlite3 **db);