summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-11-26 18:09:32 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2015-11-26 18:09:32 +0100
commit01a4a24f34d720cf703ce3806e41b3e12a888c6b (patch)
tree491ce3f9ec6f448d298d9e70f22a4d651d0c1b8e
parentc05100ed14a82bd32a62310b362622398d775a6c (diff)
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.
-rw-r--r--src/bin/e_fm_op.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/e_fm_op.c b/src/bin/e_fm_op.c
index 57f404aa9..2e2c21c44 100644
--- a/src/bin/e_fm_op.c
+++ b/src/bin/e_fm_op.c
@@ -74,12 +74,12 @@ void *alloca(size_t);
74typedef struct _E_Fm_Op_Task E_Fm_Op_Task; 74typedef struct _E_Fm_Op_Task E_Fm_Op_Task;
75typedef struct _E_Fm_Op_Copy_Data E_Fm_Op_Copy_Data; 75typedef struct _E_Fm_Op_Copy_Data E_Fm_Op_Copy_Data;
76 76
77static E_Fm_Op_Task *_e_fm_op_task_new(); 77static E_Fm_Op_Task *_e_fm_op_task_new(void);
78static void _e_fm_op_task_free(void *t); 78static void _e_fm_op_task_free(void *t);
79 79
80static void _e_fm_op_remove_link_task(E_Fm_Op_Task *task); 80static void _e_fm_op_remove_link_task(E_Fm_Op_Task *task);
81static Eina_Bool _e_fm_op_stdin_data(void *data, Ecore_Fd_Handler *fd_handler); 81static Eina_Bool _e_fm_op_stdin_data(void *data, Ecore_Fd_Handler *fd_handler);
82static void _e_fm_op_set_up_idlers(); 82static void _e_fm_op_set_up_idlers(void);
83static void _e_fm_op_delete_idler(int *mark); 83static void _e_fm_op_delete_idler(int *mark);
84static int _e_fm_op_idler_handle_error(int *mark, Eina_List **queue, Eina_List **node, E_Fm_Op_Task *task); 84static int _e_fm_op_idler_handle_error(int *mark, Eina_List **queue, Eina_List **node, E_Fm_Op_Task *task);
85 85