diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-07-08 11:58:43 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2014-07-11 15:12:21 +0100 |
commit | f00f767ceaa0ee790bbe7dd71d8210fa417483c1 (patch) | |
tree | af93d0d59e32e7bb4273ea9a6a473a2ccdee0cf3 | |
parent | 0506f106233552b7b19c89d851f004a5bf236828 (diff) |
kms_rotation_crc: Make more functions static
More of the same. This time no need to move code around, just adding
static.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
-rw-r--r-- | tests/kms_rotation_crc.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index 6249e0f0..b079376c 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; |