File libgda-return.patch of Package libgda
--- tools/gda-config-tool.c.orig 2008-05-05 21:03:12.000000000 +0200
+++ tools/gda-config-tool.c 2008-05-05 21:03:50.000000000 +0200
@@ -1414,6 +1414,7 @@ display_provider (gpointer data, gpointe
g_string_free (str, TRUE);
g_print ("Location: %s\n", info->location);
g_print ("---\n");
+ return 0;
}
static gboolean
@@ -1473,7 +1474,7 @@ list_datasources (const gchar *option_na
datasources = gda_config_get_data_source_list ();
if (datasources == NULL){
g_print ("No datasources configured!\n");
- return;
+ return 0;
}
g_print("---Datasources list---\n");
--- tools/html.c.orig 2008-05-05 21:04:04.000000000 +0200
+++ tools/html.c 2008-05-05 21:07:19.000000000 +0200
@@ -626,4 +626,5 @@ html_render_data_model_all (xmlNodePtr p
html_render_data_model (parent, model);
+ return parent;
}
--- testing/html.c.orig 2008-05-05 21:19:45.000000000 +0200
+++ testing/html.c 2008-05-05 21:19:58.000000000 +0200
@@ -626,4 +626,5 @@ html_render_data_model_all (xmlNodePtr p
html_render_data_model (parent, model);
+ return parent;
}