From 9870753cf7e6833e467ed58f2f58d4a3ec5554f7 Mon Sep 17 00:00:00 2001 From: sunghyun kim Date: Thu, 3 Aug 2017 11:09:11 +0900 Subject: [PATCH] [evasgl] fix warning in ecore_evas_tbm.c ecore_evas_tbm_ext_new no need to use const type Change-Id: I57fb4cdbc829e03744f085a713bef963d2899226 --- src/lib/ecore_evas/Ecore_Evas.h | 2 +- src/lib/ecore_evas/ecore_evas_tbm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_evas/Ecore_Evas.h b/src/lib/ecore_evas/Ecore_Evas.h index 3cd8a8f..1b10eef 100755 --- a/src/lib/ecore_evas/Ecore_Evas.h +++ b/src/lib/ecore_evas/Ecore_Evas.h @@ -1714,7 +1714,7 @@ EAPI Ecore_Evas *ecore_evas_gl_drm_new(const char *device, unsigned int pare EAPI Ecore_Evas *ecore_evas_gl_tbm_new(int w, int h); EAPI Ecore_Evas *ecore_evas_software_tbm_new(int w, int h); EAPI Ecore_Evas *ecore_evas_tbm_allocfunc_new(const char *engine, int w, int h,void *(*alloc_func) (void *data, int w, int h),void (*free_func) (void *data, void *tbm_queue),const void *data); -EAPI Ecore_Evas *ecore_evas_tbm_ext_new(const char *engine, const void *tbm_surf_queue, void* data); +EAPI Ecore_Evas *ecore_evas_tbm_ext_new(const char *engine, void *tbm_surf_queue, void* data); EAPI const void *ecore_evas_tbm_pixels_acquire(Ecore_Evas *ee); EAPI void ecore_evas_tbm_pixels_release(Ecore_Evas *ee); diff --git a/src/lib/ecore_evas/ecore_evas_tbm.c b/src/lib/ecore_evas/ecore_evas_tbm.c index 58b647c..95899dc 100755 --- a/src/lib/ecore_evas/ecore_evas_tbm.c +++ b/src/lib/ecore_evas/ecore_evas_tbm.c @@ -545,7 +545,7 @@ _ecore_evas_tbm_queue_free(void *data EINA_UNUSED, void *tbm_queue) } EAPI Ecore_Evas * -ecore_evas_tbm_ext_new(const char *engine, const void *tbm_surf_queue, void* data) +ecore_evas_tbm_ext_new(const char *engine, void *tbm_surf_queue, void* data) { Ecore_Evas_Engine_Tbm_Data *tbm_data; -- 2.7.4