[igt-dev] [PATCH i-g-t v2 2/7] tests/kms_tiled_display: Make basic_test() static

Ville Syrjala ville.syrjala at linux.intel.com
Thu Jun 1 13:08:45 UTC 2023


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

MAke basic_test() static since it's not needed anywhere else.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tests/kms_tiled_display.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/tests/kms_tiled_display.c b/tests/kms_tiled_display.c
index 3bb240fd574a..ad98462012db 100644
--- a/tests/kms_tiled_display.c
+++ b/tests/kms_tiled_display.c
@@ -70,9 +70,6 @@ typedef struct {
 
 } data_t;
 
-void basic_test(data_t *data, drmEventContext *drm_event, struct pollfd *pfd,
-		igt_display_t *display);
-
 #ifdef HAVE_CHAMELIUM
 static void test_with_chamelium(data_t *data, igt_display_t *display);
 #endif
@@ -422,8 +419,8 @@ static void test_with_chamelium(data_t *data, igt_display_t *display)
 }
 #endif
 
-void basic_test(data_t *data, drmEventContext *drm_event, struct pollfd *pfd,
-		igt_display_t *display)
+static void basic_test(data_t *data, drmEventContext *drm_event, struct pollfd *pfd,
+		       igt_display_t *display)
 {
 		int ret;
 
-- 
2.39.3



More information about the igt-dev mailing list