stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=01a4a24f34d720cf703ce3806e41b3e12a888c6b

commit 01a4a24f34d720cf703ce3806e41b3e12a888c6b
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Thu Nov 26 18:09:32 2015 +0100

    e_fm:correct declaration of  function with no 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.
    
    Thanks for the sparse semantic parser for pointing this out.
---
 src/bin/e_fm_op.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_fm_op.c b/src/bin/e_fm_op.c
index 57f404a..2e2c21c 100644
--- a/src/bin/e_fm_op.c
+++ b/src/bin/e_fm_op.c
@@ -74,12 +74,12 @@ void *alloca(size_t);
 typedef struct _E_Fm_Op_Task      E_Fm_Op_Task;
 typedef struct _E_Fm_Op_Copy_Data E_Fm_Op_Copy_Data;
 
-static E_Fm_Op_Task *_e_fm_op_task_new();
+static E_Fm_Op_Task *_e_fm_op_task_new(void);
 static void          _e_fm_op_task_free(void *t);
 
 static void          _e_fm_op_remove_link_task(E_Fm_Op_Task *task);
 static Eina_Bool     _e_fm_op_stdin_data(void *data, Ecore_Fd_Handler 
*fd_handler);
-static void          _e_fm_op_set_up_idlers();
+static void          _e_fm_op_set_up_idlers(void);
 static void          _e_fm_op_delete_idler(int *mark);
 static int           _e_fm_op_idler_handle_error(int *mark, Eina_List **queue, 
Eina_List **node, E_Fm_Op_Task *task);
 

-- 


Reply via email to