tests: Mark static functions as static

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2017-05-04 14:53:35 +02:00
parent 1bbb19b4cb
commit cdc352edf9
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;