2008-02-12  Alexander Larsson  <alexl@redhat.com>

        * tests/live-g-file.c:
	C89 fixes (#515892)



svn path=/trunk/; revision=6506
This commit is contained in:
Alexander Larsson 2008-02-12 10:06:01 +00:00 committed by Alexander Larsson
parent fa206b48be
commit 767e18bf82
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2008-02-12 Alexander Larsson <alexl@redhat.com>
* tests/live-g-file.c:
C89 fixes (#515892)
2008-02-11 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.5 ===

View File

@ -1076,12 +1076,6 @@ main (int argc, char *argv[])
GError *error;
GOptionContext *context;
verbose = FALSE;
write_test = FALSE;
create_struct = FALSE;
target_path = NULL;
posix_compat = FALSE;
static GOptionEntry cmd_entries[] = {
{"read-write", 'w', 0, G_OPTION_ARG_NONE, &write_test,
"Perform write tests (incl. structure creation)", NULL},
@ -1093,6 +1087,12 @@ main (int argc, char *argv[])
{NULL}
};
verbose = FALSE;
write_test = FALSE;
create_struct = FALSE;
target_path = NULL;
posix_compat = FALSE;
/* strip all gtester-specific args */
g_type_init ();
g_test_init (&argc, &argv, NULL);