summaryrefslogtreecommitdiff
path: root/src/mysql.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/mysql.sml')
-rw-r--r--src/mysql.sml12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mysql.sml b/src/mysql.sml
index 40409ff0..b894bfac 100644
--- a/src/mysql.sml
+++ b/src/mysql.sml
@@ -379,7 +379,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,
@@ -502,7 +502,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 "MYSQL *mysql = mysql_init(NULL);",
newline,
@@ -554,7 +554,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,
@@ -573,7 +573,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,
@@ -586,7 +586,7 @@ fun init {dbstring, prepared = ss, tables, views, sequences} =
newline,
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,
@@ -596,7 +596,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,