summaryrefslogtreecommitdiff
path: root/src/static_libs
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-12-06 14:33:24 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-12-06 17:16:24 +0100
commite90622ec41460165192b98ec2fe1aacda61937bc (patch)
treebc3f0fa2ad3856cb2fed947244adaa3662c83db8 /src/static_libs
parent9d37fa2b8be5abcadaad14a7c4b3fe02afafc0ac (diff)
all: use void if we really want to make sure we do not accept parameters
In C we need this to make clear that we really do not accept parameters. Found by the smatch source code matcher. I had run and fixed this before but it seems to creep in again over time.
Diffstat (limited to 'src/static_libs')
-rw-r--r--src/static_libs/draw/draw_main.c2
-rw-r--r--src/static_libs/draw/draw_main_neon.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/static_libs/draw/draw_main.c b/src/static_libs/draw/draw_main.c
index 3d92063..40b32e9 100644
--- a/src/static_libs/draw/draw_main.c
+++ b/src/static_libs/draw/draw_main.c
@@ -278,7 +278,7 @@ efl_draw_func_span_get(Efl_Gfx_Render_Op op, uint32_t color, Eina_Bool src_alpha
278} 278}
279 279
280int 280int
281efl_draw_init() 281efl_draw_init(void)
282{ 282{
283 static int i = 0; 283 static int i = 0;
284 if (!(i++)) 284 if (!(i++))
diff --git a/src/static_libs/draw/draw_main_neon.c b/src/static_libs/draw/draw_main_neon.c
index 0441147..24b3d01 100644
--- a/src/static_libs/draw/draw_main_neon.c
+++ b/src/static_libs/draw/draw_main_neon.c
@@ -214,7 +214,7 @@ comp_func_source_over_sse2(uint32_t * __restrict dest, const uint32_t * __restri
214#endif 214#endif
215 215
216void 216void
217efl_draw_neon_init() 217efl_draw_neon_init(void)
218{ 218{
219#ifdef BUILD_NEON 219#ifdef BUILD_NEON
220 if (eina_cpu_features_get() & EINA_CPU_NEON) 220 if (eina_cpu_features_get() & EINA_CPU_NEON)