diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-04-16 14:34:30 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-04-16 14:43:50 +0300 |
commit | 94bc38df829c4816e629c7dcaed31b1e7c75bc4b (patch) | |
tree | c02d2de0f44462c82e24591127caf66b05d8710d /src/dblayer.h | |
parent | afc0f4906ed9891962d1797581afeb5c61e2e3af (diff) | |
download | ck-94bc38df829c4816e629c7dcaed31b1e7c75bc4b.tar.gz ck-94bc38df829c4816e629c7dcaed31b1e7c75bc4b.tar.bz2 ck-94bc38df829c4816e629c7dcaed31b1e7c75bc4b.zip |
Add asan option to cmake
finish init without any asan warnings
Diffstat (limited to 'src/dblayer.h')
-rw-r--r-- | src/dblayer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dblayer.h b/src/dblayer.h index e5c0b73..8a57dca 100644 --- a/src/dblayer.h +++ b/src/dblayer.h @@ -11,6 +11,8 @@ #include <sqlite3.h> +#include "actionparser.h" + typedef enum SqlErrors SqlError; enum SqlErrors { SQL_NO_ERR = 0, @@ -25,7 +27,7 @@ struct DBstruct { SqlError error; }; -extern int db_exists(); +extern int db_exists(UserOpt *opt); extern DB open_DB(); extern void close_DB(DB *DB); |