static char *fail_str = "foo";
static char *log_str = "bar";
-gboolean
+static gboolean
good_failure_handler (const gchar *log_domain,
GLogLevelFlags log_level,
const gchar *msg,
return FALSE;
}
-gboolean
+static gboolean
bad_failure_handler (const gchar *log_domain,
GLogLevelFlags log_level,
const gchar *msg,
return FALSE;
}
-void
+static void
test_handler (const gchar *log_domain,
GLogLevelFlags log_level,
const gchar *msg,
g_assert ((char *)user_data == log_str);
}
-void
+static void
bug653052 (void)
{
g_test_bug ("653052");
gboolean ignore_test2_boolean;
gchar *ignore_test3_string;
-gchar **
+static gchar **
split_string (const char *str, int *argc)
{
gchar **argv;
return argv;
}
-gchar *
+static gchar *
join_stringv (int argc, char **argv)
{
int i;
}
/* Performs a shallow copy */
-char **
+static char **
copy_stringv (char **argv, int argc)
{
return g_memdup (argv, sizeof (char *) * (argc + 1));
return FALSE;
}
-void
+static void
error_test1 (void)
{
GOptionContext *context;
return FALSE;
}
-void
+static void
error_test2 (void)
{
GOptionContext *context;
return FALSE;
}
-void
+static void
error_test3 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
arg_test1 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
arg_test2 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
arg_test3 (void)
{
GOptionContext *context;
}
-void
+static void
arg_test4 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
arg_test5 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
arg_test6 (void)
{
GOptionContext *context;
return TRUE;
}
-void
+static void
callback_test1 (void)
{
GOptionContext *context;
return TRUE;
}
-void
+static void
callback_test2 (void)
{
GOptionContext *context;
return TRUE;
}
-void
+static void
callback_test_optional_1 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
callback_test_optional_2 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
callback_test_optional_3 (void)
{
GOptionContext *context;
}
-void
+static void
callback_test_optional_4 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
callback_test_optional_5 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
callback_test_optional_6 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
callback_test_optional_7 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
callback_test_optional_8 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
callback_test_optional_9 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
callback_test_optional_10 (void)
{
GOptionContext *context;
return TRUE;
}
-void
+static void
callback_remaining_test1 (void)
{
GOptionContext *context;
}
-void
+static void
ignore_test1 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
ignore_test2 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
ignore_test3 (void)
{
GOptionContext *context;
}
void
-array_test1 (void)
+static array_test1 (void)
{
GOptionContext *context;
gboolean retval;
g_option_context_free (context);
}
-void
+static void
add_test1 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
empty_test2 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
empty_test3 (void)
{
GOptionContext *context;
}
/* check that non-option arguments are left in argv by default */
-void
+static void
rest_test1 (void)
{
GOptionContext *context;
}
/* check that -- works */
-void
+static void
rest_test2 (void)
{
GOptionContext *context;
}
/* check that -- stripping works */
-void
+static void
rest_test2a (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
rest_test2b (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
rest_test2c (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
rest_test2d (void)
{
GOptionContext *context;
/* check that G_OPTION_REMAINING collects non-option arguments */
-void
+static void
rest_test3 (void)
{
GOptionContext *context;
/* check that G_OPTION_REMAINING and -- work together */
-void
+static void
rest_test4 (void)
{
GOptionContext *context;
}
/* test that G_OPTION_REMAINING works with G_OPTION_ARG_FILENAME_ARRAY */
-void
+static void
rest_test5 (void)
{
GOptionContext *context;
g_option_context_free (context);
}
-void
+static void
unknown_short_test (void)
{
GOptionContext *context;
}
/* test that lone dashes are treated as non-options */
-void lonely_dash_test (void)
+static void
+lonely_dash_test (void)
{
GOptionContext *context;
gboolean retval;
g_option_context_free (context);
}
-void
+static void
missing_arg_test (void)
{
GOptionContext *context;
return TRUE;
}
-void
+static void
dash_arg_test (void)
{
GOptionContext *context;