aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/espik.c4
-rw-r--r--src/espik_config.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/espik.c b/src/espik.c
index 7570525..8763f21 100644
--- a/src/espik.c
+++ b/src/espik.c
@@ -23,7 +23,7 @@ typedef int (*Handler_Func) (void *data, int ev_type, void *ev);
typedef int (*Handler_Fd_Func) (void *data, Ecore_Fd_Handler * fd_handler);
*/
-static void espik_init()
+static void espik_init(void)
{
ptr_list = ecore_list_new();
}
@@ -45,7 +45,7 @@ void espik_free (void *ptr)
espik_leave();
}
-void espik_shutdown()
+void espik_shutdown(void)
{
ecore_main_loop_quit();
}
diff --git a/src/espik_config.c b/src/espik_config.c
index 234954a..410fcf0 100644
--- a/src/espik_config.c
+++ b/src/espik_config.c
@@ -29,7 +29,7 @@ t_servinfo* espik_server_config_set (char* server, unsigned short port)
return (s_info);
}
-t_userinfo* espik_user_sysinfo_get ()
+t_userinfo* espik_user_sysinfo_get (void)
{
struct passwd* pw;
t_userinfo* u_info;
@@ -55,7 +55,7 @@ t_userinfo* espik_user_sysinfo_get ()
return (u_info);
}
-void espik_config_default_set ()
+void espik_config_default_set (void)
{
t_userinfo* user_sysinfo;
espik_enter();
@@ -81,7 +81,7 @@ void espik_config_default_set ()
espik_leave();
}
-void espik_config_init ()
+void espik_config_init (void)
{
espik_enter();