More of the same. This time no need to move code around, just adding static. Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx> --- tests/kms_rotation_crc.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index 6249e0f..b079376 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -65,13 +65,7 @@ typedef struct { int rotate; } data_t; -int set_plane_property(data_t *data, int plane_id, const char *prop_name, int - val, igt_crc_t *crc_output); -void test_sprite_rotation(data_t *data); -void test_primary_rotation(data_t *data); -bool prepare_crtc(data_t *data); - -bool prepare_crtc(data_t *data) +static bool prepare_crtc(data_t *data) { drmModeModeInfo *mode; igt_display_t *display = &data->display; @@ -249,7 +243,7 @@ static int connector_find_plane(int gfx_fd, uint32_t pipe, uint32_t type) return 0; } -int set_plane_property(data_t *data, int plane_id, const char *prop_name, int +static int set_plane_property(data_t *data, int plane_id, const char *prop_name, int val, igt_crc_t *crc_output) { int i = 0, ret = 0; @@ -313,7 +307,7 @@ static void cleanup_crtc(data_t *data, igt_output_t *output) igt_display_commit(display); } -void test_sprite_rotation(data_t *data) +static void test_sprite_rotation(data_t *data) { igt_display_t *display = &data->display; igt_output_t *output; @@ -355,7 +349,7 @@ void test_sprite_rotation(data_t *data) } -void test_primary_rotation(data_t *data) +static void test_primary_rotation(data_t *data) { igt_display_t *display = &data->display; igt_output_t *output; -- 1.8.3.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx