diff src/postgres.sml @ 876:025806b3c014

Demo compiles again with Postgres and MySQL; MySQL version lacks sequence code and so doesn't work yet
author Adam Chlipala <adamc@hcoop.net>
date Sun, 12 Jul 2009 16:09:54 -0400
parents 3c7b48040dcf
children dae141d911d9
line wrap: on
line diff
--- a/src/postgres.sml	Sun Jul 12 15:42:24 2009 -0400
+++ b/src/postgres.sml	Sun Jul 12 16:09:54 2009 -0400
@@ -247,7 +247,7 @@
 
 fun init {dbstring, prepared = ss, tables, views, sequences} =
     box [if #persistent (currentProtocol ()) then
-             box [string "void uw_client_init() { }",
+             box [string "void uw_client_init(void) { }",
                   newline,
                   newline,