aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sqlite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sqlite.c')
-rw-r--r--src/sqlite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqlite.c b/src/sqlite.c
index 8078739..7080928 100644
--- a/src/sqlite.c
+++ b/src/sqlite.c
@@ -46,7 +46,7 @@ void sqlite_destroy(void)
sqlite_errno_if(sqlite3_shutdown(), "sqlite3_shutdown");
}
-int sqlite_open(const char *path, sqlite3 **db, int flags)
+static int sqlite_open(const char *path, sqlite3 **db, int flags)
{
int ret = 0;
@@ -89,7 +89,7 @@ int sqlite_exec(sqlite3 *db, const char *stmt, sqlite3_callback callback, void *
return ret;
}
-int sqlite_log_result(UNUSED void *arg, int numof_columns, char **values, char **column_names)
+int sqlite_exec_log_result(UNUSED void *arg, int numof_columns, char **values, char **column_names)
{
log("Row:\n");
for (int i = 0; i < numof_columns; ++i) {