diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-12-27 10:37:24 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-12-27 10:37:24 -0500 |
commit | d14fddf5c814d77030a2bf1885ac2e955c8c961e (patch) | |
tree | 860e97379bc9422f4f7bd8fade58f9752afd92d9 /src/sqlite.sml | |
parent | 2ace64baba707b2e76778c74789735263eb50823 (diff) |
All three current protocols work with move to using uw_app
Diffstat (limited to 'src/sqlite.sml')
-rw-r--r-- | src/sqlite.sml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sqlite.sml b/src/sqlite.sml index 440c7c28..485e43b4 100644 --- a/src/sqlite.sml +++ b/src/sqlite.sml @@ -156,7 +156,7 @@ fun init {dbstring, prepared = ss, tables, views, sequences} = newline, newline, - string "void uw_client_init(void) {", + string "static void uw_client_init(void) {", newline, box [string "uw_sqlfmtInt = \"%lld%n\";", newline, @@ -256,7 +256,7 @@ fun init {dbstring, prepared = ss, tables, views, sequences} = newline, newline, - string "void uw_db_init(uw_context ctx) {", + string "static void uw_db_init(uw_context ctx) {", newline, string "sqlite3 *sqlite;", newline, @@ -283,7 +283,7 @@ fun init {dbstring, prepared = ss, tables, views, sequences} = newline, newline, - string "void uw_db_close(uw_context ctx) {", + string "static void uw_db_close(uw_context ctx) {", newline, string "uw_conn *conn = uw_get_db(ctx);", newline, @@ -302,7 +302,7 @@ fun init {dbstring, prepared = ss, tables, views, sequences} = newline, newline, - string "int uw_db_begin(uw_context ctx) {", + string "static int uw_db_begin(uw_context ctx) {", newline, string "uw_conn *conn = uw_get_db(ctx);", newline, @@ -321,7 +321,7 @@ fun init {dbstring, prepared = ss, tables, views, sequences} = newline, string "}", newline, - string "int uw_db_commit(uw_context ctx) {", + string "static int uw_db_commit(uw_context ctx) {", newline, string "uw_conn *conn = uw_get_db(ctx);", newline, @@ -341,7 +341,7 @@ fun init {dbstring, prepared = ss, tables, views, sequences} = newline, newline, - string "int uw_db_rollback(uw_context ctx) {", + string "static int uw_db_rollback(uw_context ctx) {", newline, string "uw_conn *conn = uw_get_db(ctx);", newline, |