ector: use void to force empty function parameters
authorStefan Schmidt <stefan@osg.samsung.com>
Thu, 26 Nov 2015 16:24:37 +0000 (17:24 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Thu, 26 Nov 2015 16:24:37 +0000 (17:24 +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/lib/ector/software/ector_drawhelper_private.h

index d15a8f6..22d5fe9 100644 (file)
@@ -93,11 +93,11 @@ typedef void (*RGBA_Comp_Func_Solid)(uint *dest, int length, uint color, uint co
 extern RGBA_Comp_Func_Solid func_for_mode_solid[ECTOR_ROP_LAST];
 extern RGBA_Comp_Func func_for_mode[ECTOR_ROP_LAST];
 
-void drawhelper_gradient_init();
-void draw_helper_sse2_init();
-void draw_helper_neon_init();
+void drawhelper_gradient_init(void);
+void draw_helper_sse2_init(void);
+void draw_helper_neon_init(void);
 
-void draw_helper_init();
+void draw_helper_init(void);
 
 RGBA_Comp_Func_Solid ector_comp_func_solid_span_get(Ector_Rop op, uint color);
 RGBA_Comp_Func ector_comp_func_span_get(Ector_Rop op, uint color, Eina_Bool src_alpha);