stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f356af17c934c857811c5fcbb313628d43bbe091

commit f356af17c934c857811c5fcbb313628d43bbe091
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Thu Nov 26 17:24:37 2015 +0100

    ector: use void to force empty function parameters
    
    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 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/lib/ector/software/ector_drawhelper_private.h 
b/src/lib/ector/software/ector_drawhelper_private.h
index d15a8f6..22d5fe9 100644
--- a/src/lib/ector/software/ector_drawhelper_private.h
+++ b/src/lib/ector/software/ector_drawhelper_private.h
@@ -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);

-- 


Reply via email to