From 605be2354c3e6f298db47c41fad87d507079c847 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Thu, 26 Nov 2015 18:09:32 +0100 Subject: [PATCH] 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 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); 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);