evas gl_common: use void to force empty function parameters
authorStefan Schmidt <stefan@osg.samsung.com>
Thu, 26 Nov 2015 16:26:07 +0000 (17:26 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Thu, 26 Nov 2015 16:26:07 +0000 (17:26 +0100)
We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.

src/modules/evas/engines/gl_common/evas_gl_core.h

index e1e6764..8083236 100644 (file)
@@ -85,9 +85,9 @@ Eina_Bool    evgl_native_surface_direct_opts_get(Evas_Native_Surface *ns,
                                                  Eina_Bool *direct_override);
 
 void         evgl_direct_partial_info_set(int pres);
-void         evgl_direct_partial_info_clear();
-void         evgl_direct_partial_render_start();
-void         evgl_direct_partial_render_end();
+void         evgl_direct_partial_info_clear(void);
+void         evgl_direct_partial_render_start(void);
+void         evgl_direct_partial_render_end(void);
 
 #undef EAPI
 #define EAPI