X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Frotation%2Fschedule_api.c;h=1e19f5be34580f53bbc6e17ec875f05ceb6bcfb2;hp=03c446fcb498c7f50309ecc21e35268d178e98f5;hb=refs%2Fheads%2Fsow-2019-0002-rev1;hpb=25357057de5ae4dd2a572e8f9b893c1b90cbd60a diff --git a/tests/regression/tools/rotation/schedule_api.c b/tests/regression/tools/rotation/schedule_api.c index 03c446fcb..1e19f5be3 100644 --- a/tests/regression/tools/rotation/schedule_api.c +++ b/tests/regression/tools/rotation/schedule_api.c @@ -22,7 +22,7 @@ const char *session_name; -bool schedules_equal(const struct lttng_rotation_schedule *a, +static bool schedules_equal(const struct lttng_rotation_schedule *a, const struct lttng_rotation_schedule *b) { bool equal = false; @@ -84,7 +84,7 @@ end: return equal; } -void test_add_null_session(void) +static void test_add_null_session(void) { enum lttng_rotation_status status; struct lttng_rotation_schedule *size_schedule = NULL; @@ -97,7 +97,7 @@ void test_add_null_session(void) lttng_rotation_schedule_destroy(size_schedule); } -void test_add_null_schedule(void) +static void test_add_null_schedule(void) { enum lttng_rotation_status status; @@ -106,7 +106,7 @@ void test_add_null_schedule(void) "NULL schedule rejected by lttng_session_add_rotation_schedule()"); } -void test_add_uninitialized_schedule(void) +static void test_add_uninitialized_schedule(void) { enum lttng_rotation_status status; struct lttng_rotation_schedule *size_schedule = NULL, @@ -132,7 +132,7 @@ void test_add_uninitialized_schedule(void) lttng_rotation_schedule_destroy(periodic_schedule); } -void test_remove_null_session(void) +static void test_remove_null_session(void) { enum lttng_rotation_status status; struct lttng_rotation_schedule *size_schedule = NULL; @@ -145,7 +145,7 @@ void test_remove_null_session(void) lttng_rotation_schedule_destroy(size_schedule); } -void test_remove_null_schedule(void) +static void test_remove_null_schedule(void) { enum lttng_rotation_status status; @@ -154,7 +154,7 @@ void test_remove_null_schedule(void) "NULL schedule rejected by lttng_session_remove_rotation_schedule()"); } -void test_remove_uninitialized_schedule(void) +static void test_remove_uninitialized_schedule(void) { enum lttng_rotation_status status; struct lttng_rotation_schedule *size_schedule = NULL, @@ -176,7 +176,7 @@ void test_remove_uninitialized_schedule(void) lttng_rotation_schedule_destroy(periodic_schedule); } -void test_uninitialized_schedule_get(void) +static void test_uninitialized_schedule_get(void) { uint64_t value; enum lttng_rotation_status status; @@ -200,7 +200,7 @@ void test_uninitialized_schedule_get(void) } -void test_add_list_remove_schedule( +static void test_add_list_remove_schedule( const struct lttng_rotation_schedule *original_schedule) { int ret; @@ -249,7 +249,7 @@ void test_add_list_remove_schedule( } -void test_add_list_remove_size_schedule(void) +static void test_add_list_remove_size_schedule(void) { struct lttng_rotation_schedule *size_schedule; @@ -261,7 +261,7 @@ void test_add_list_remove_size_schedule(void) lttng_rotation_schedule_destroy(size_schedule); } -void test_add_list_remove_periodic_schedule(void) +static void test_add_list_remove_periodic_schedule(void) { struct lttng_rotation_schedule *periodic_schedule;