mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
tests: Mark static functions as static
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
1bbb19b4cb
commit
cdc352edf9
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue