tests: make some functions static.

macos/master
Dave Airlie 9 years ago
parent 19bc426d27
commit 332b82e6e3
  1. 2
      tests/test_virgl_cmd.c
  2. 2
      tests/test_virgl_init.c
  3. 2
      tests/test_virgl_resource.c
  4. 8
      tests/test_virgl_transfer.c

@ -1007,7 +1007,7 @@ START_TEST(virgl_test_large_shader)
} }
END_TEST END_TEST
Suite *virgl_init_suite(void) static Suite *virgl_init_suite(void)
{ {
Suite *s; Suite *s;
TCase *tc_core; TCase *tc_core;

@ -444,7 +444,7 @@ START_TEST(virgl_init_egl_create_ctx_create_attach_res_illegal_res)
} }
END_TEST END_TEST
Suite *virgl_init_suite(void) static Suite *virgl_init_suite(void)
{ {
Suite *s; Suite *s;
TCase *tc_core; TCase *tc_core;

@ -280,7 +280,7 @@ START_TEST(cubemaparray_res_tests)
} }
END_TEST END_TEST
Suite *virgl_init_suite(void) static Suite *virgl_init_suite(void)
{ {
Suite *s; Suite *s;
TCase *tc_core; TCase *tc_core;

@ -536,9 +536,9 @@ END_TEST
#define LARGE_FLAG_WIDTH (1 << 0) #define LARGE_FLAG_WIDTH (1 << 0)
#define LARGE_FLAG_HEIGHT (1 << 1) #define LARGE_FLAG_HEIGHT (1 << 1)
#define LARGE_FLAG_DEPTH (1 << 2) #define LARGE_FLAG_DEPTH (1 << 2)
void get_resource_args(enum pipe_texture_target target, bool invalid, static void get_resource_args(enum pipe_texture_target target, bool invalid,
struct virgl_renderer_resource_create_args *args, struct virgl_renderer_resource_create_args *args,
struct pipe_box *box, int nsamples, int large_flags) struct pipe_box *box, int nsamples, int large_flags)
{ {
memset(args, 0, sizeof(*args)); memset(args, 0, sizeof(*args));
memset(box, 0, sizeof(*box)); memset(box, 0, sizeof(*box));
@ -726,7 +726,7 @@ START_TEST(virgl_test_transfer_inline_valid_large)
} }
END_TEST END_TEST
Suite *virgl_init_suite(void) static Suite *virgl_init_suite(void)
{ {
Suite *s; Suite *s;
TCase *tc_core; TCase *tc_core;

Loading…
Cancel
Save