aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin (Beber) <beber.mailing@gmail.com>2006-02-27 19:41:14 +0100
committerbeber <beber@guybrush.melee>2006-02-27 19:41:14 +0100
commit83268db0d0cfbca8303701fb29a8f65170a9f857 (patch)
tree88cfa26ef5d2321bc08f881a1d7cad19a67b2cdc
parent-Wundef -Wold-style-definition too (diff)
downloadespik-83268db0d0cfbca8303701fb29a8f65170a9f857.tar.gz
Don't warnings :)
-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();