On Thu, 9 Jun 2011, Enlightenment SVN wrote:
> Log: > Evas: GL_X11 engine: Do not set UNUSED on variables that we actually > use and remove some extra whitespace between functions. just a note : the use of the attribute means that the variable can be unused. It's not a requirement. See: http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/Variable-Attributes.html Vincent > > > > Author: devilhorns > Date: 2011-06-09 12:25:21 -0700 (Thu, 09 Jun 2011) > New Revision: 60153 > Trac: http://trac.enlightenment.org/e/changeset/60153 > > Modified: > trunk/evas/src/modules/engines/gl_x11/evas_engine.c > > Modified: trunk/evas/src/modules/engines/gl_x11/evas_engine.c > =================================================================== > --- trunk/evas/src/modules/engines/gl_x11/evas_engine.c 2011-06-09 > 19:03:39 UTC (rev 60152) > +++ trunk/evas/src/modules/engines/gl_x11/evas_engine.c 2011-06-09 > 19:25:21 UTC (rev 60153) > @@ -1931,7 +1931,7 @@ > } > > static void > -eng_image_map_draw(void *data __UNUSED__, void *context, void *surface, void > *image, int npoints, RGBA_Map_Point *p, int smooth, int level) > +eng_image_map_draw(void *data, void *context, void *surface, void *image, > int npoints, RGBA_Map_Point *p, int smooth, int level) > { > Evas_GL_Image *gim = image; > Render_Engine *re; > @@ -1982,7 +1982,7 @@ > } > > static void * > -eng_image_map_surface_new(void *data __UNUSED__, int w, int h, int alpha) > +eng_image_map_surface_new(void *data, int w, int h, int alpha) > { > Render_Engine *re; > > @@ -2011,7 +2011,7 @@ > } > > static void > -eng_image_cache_flush(void *data __UNUSED__) > +eng_image_cache_flush(void *data) > { > Render_Engine *re; > int tmp_size; > @@ -2026,7 +2026,7 @@ > } > > static void > -eng_image_cache_set(void *data __UNUSED__, int bytes) > +eng_image_cache_set(void *data, int bytes) > { > Render_Engine *re; > > @@ -2039,17 +2039,14 @@ > static int > eng_image_cache_get(void *data __UNUSED__) > { > - Render_Engine *re; > - > - re = (Render_Engine *)data; > return evas_common_image_get_cache(); > } > > - > static void > eng_image_stride_get(void *data __UNUSED__, void *image, int *stride) > { > Evas_GL_Image *im = image; > + > *stride = im->w * 4; > if ((im->tex) && (im->tex->pt->dyn.img)) > { > @@ -2325,7 +2322,6 @@ > return sfc; > } > > - > static int > eng_gl_surface_destroy(void *data, void *surface) > { > @@ -2379,8 +2375,6 @@ > return 1; > } > > - > - > static void * > eng_gl_context_create(void *data, void *share_context) > { > @@ -2457,7 +2451,6 @@ > return ctx; > } > > - > static int > eng_gl_context_destroy(void *data, void *context) > { > @@ -2513,8 +2506,6 @@ > return 1; > } > > - > - > static int > eng_gl_make_current(void *data, void *surface, void *context) > { > > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel