Commit 3513d34e authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Fix build

parent 7dc449eb
......@@ -147,7 +147,7 @@ int db_init(char *path)
rc = sqlite3_prepare_v2(db, set_key_query, -1, &set_key_stmt, NULL);
if (rc) return rc;
sqlite3_exec(db, "begin;", NULL, NULL, NULL);
return 0;
......@@ -486,7 +486,7 @@ void db_worker_start(char *path) {
thrd_create(&thrd, db_worker_run, path);
void db_worker_stop() {
void db_worker_stop(void) {
if (!db_enabled)
......@@ -33,8 +33,8 @@ void db_load_lights(Map *map, int p, int q);
void db_load_signs(SignList *list, int p, int q);
int db_get_key(int p, int q);
void db_set_key(int p, int q, int key);
void db_worker_start();
void db_worker_stop();
void db_worker_start(char *path);
void db_worker_stop(void);
int db_worker_run(void *arg);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment