From cdc352edf980b9b767852bb264e448a21015627a Mon Sep 17 00:00:00 2001 From: Quentin Glidic Date: Thu, 4 May 2017 14:53:35 +0200 Subject: [PATCH] tests: Mark static functions as static Signed-off-by: Quentin Glidic --- test/mode-test.c | 6 +++--- test/theme-parser-test.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/mode-test.c b/test/mode-test.c index 0510c408..b98062ad 100644 --- a/test/mode-test.c +++ b/test/mode-test.c @@ -90,11 +90,11 @@ gboolean x11_parse_key ( G_GNUC_UNUSED const char *combo, G_GNUC_UNUSED unsigned #define ck_assert_ptr_null(X) _ck_assert_ptr_null(X, ==) #define ck_assert_ptr_nonnull(X) _ck_assert_ptr_null(X, !=) #endif -void test_mode_setup ( void ) +static void test_mode_setup ( void ) { ck_assert_int_eq ( mode_init ( &help_keys_mode ), TRUE); } -void test_mode_teardown (void ) +static void test_mode_teardown (void ) { mode_destroy ( &help_keys_mode ); } @@ -159,7 +159,7 @@ START_TEST(test_mode_match_entry) } END_TEST -Suite * mode_suite (void) +static Suite * mode_suite (void) { Suite *s; TCase *tc_core; diff --git a/test/theme-parser-test.c b/test/theme-parser-test.c index fe383d12..90600774 100644 --- a/test/theme-parser-test.c +++ b/test/theme-parser-test.c @@ -90,12 +90,12 @@ void rofi_add_error_message ( GString *msg ) error = TRUE; } -void theme_parser_setup ( void ) +static void theme_parser_setup ( void ) { error = 0; } -void theme_parser_teardown ( void ) +static void theme_parser_teardown ( void ) { ck_assert_ptr_null ( error_msg ); ck_assert_int_eq ( error, 0); @@ -671,7 +671,7 @@ START_TEST ( test_import_empty) } END_TEST -Suite * theme_parser_suite (void) +static Suite * theme_parser_suite (void) { Suite *s; TCase *tc_core;