From: devilhorns Date: Sun, 20 Feb 2011 16:39:43 +0000 (+0000) Subject: Ecore_Evas: Add UNUSED where missing. X-Git-Tag: build/2012-07-04.173327~1298 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d52d4aee79ac5f60e9f308fdeaae9e745954c3f7;p=profile%2Fivi%2Fecore.git Ecore_Evas: Add UNUSED where missing. When building ecore_evas for gl, some functions had unused parameters. Add UNUSED to those. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@57196 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_evas/ecore_evas_x.c b/src/lib/ecore_evas/ecore_evas_x.c index 5ef090e..7115afe 100644 --- a/src/lib/ecore_evas/ecore_evas_x.c +++ b/src/lib/ecore_evas/ecore_evas_x.c @@ -3535,8 +3535,8 @@ ecore_evas_gl_x11_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __ return NULL; } EAPI Ecore_Evas * -ecore_evas_gl_x11_options_new(const char *disp_name, Ecore_X_Window parent, - int x, int y, int w, int h, const int *opt) +ecore_evas_gl_x11_options_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__, + int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, const int *opt __UNUSED__) { return NULL; } @@ -3643,7 +3643,7 @@ ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee, void *data, v } #else EAPI void -ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee, void *data, void (*pre_cb) (void *data, Evas *e), void (*post_cb) (void *data, Evas *e)) +ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee __UNUSED__, void *data __UNUSED__, void (*pre_cb) (void *data, Evas *e) __UNUSED__, void (*post_cb) (void *data, Evas *e) __UNUSED__) { return; }