Only used internally in igt_kms.c. Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx> --- lib/igt_kms.c | 2 +- lib/igt_kms.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/igt_kms.c b/lib/igt_kms.c index ad97606f445a..c990389b9905 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -374,7 +374,7 @@ static void __kmstest_destroy_cairo_surface(void *arg) munmap(cairo_image_surface_get_data(fb->cairo_surface), fb->size); } -cairo_surface_t *kmstest_get_cairo_surface(int fd, struct kmstest_fb *fb) +static cairo_surface_t *kmstest_get_cairo_surface(int fd, struct kmstest_fb *fb) { if (fb->cairo_surface == NULL) { fb->cairo_surface = diff --git a/lib/igt_kms.h b/lib/igt_kms.h index 519fea02e800..e40fd0afd666 100644 --- a/lib/igt_kms.h +++ b/lib/igt_kms.h @@ -85,7 +85,6 @@ unsigned int kmstest_create_color_fb(int fd, int width, int height, struct kmstest_fb *fb /* out */); void kmstest_remove_fb(int fd, struct kmstest_fb *fb_info); cairo_t *kmstest_get_cairo_ctx(int fd, struct kmstest_fb *fb); -cairo_surface_t *kmstest_get_cairo_surface(int fd, struct kmstest_fb *fb); void kmstest_paint_color(cairo_t *cr, int x, int y, int w, int h, double r, double g, double b); void kmstest_paint_color_alpha(cairo_t *cr, int x, int y, int w, int h, -- 1.8.5.2 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx