diff options
author | beber <beber> | 2005-10-08 22:42:01 +0000 |
---|---|---|
committer | beber <beber> | 2005-10-08 22:42:01 +0000 |
commit | 2813c55ed719c5facc6ec5dc2e4c7da8ea6a8bfd (patch) | |
tree | c2b0a87ef097309e2b920de1552735fc0eb895bf /src | |
parent | add /nick (diff) | |
download | espik-2813c55ed719c5facc6ec5dc2e4c7da8ea6a8bfd.tar.xz |
Move definitely to espik_global.h
Warnig Fix
Compil Fix
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/espik.c | 1 | ||||
-rw-r--r-- | src/espik_common_handler.c | 2 | ||||
-rw-r--r-- | src/espik_common_handler.h | 2 | ||||
-rw-r--r-- | src/espik_config.h | 2 | ||||
-rw-r--r-- | src/espik_global.h (renamed from src/global.h) | 0 | ||||
-rw-r--r-- | src/espik_irc.c | 4 | ||||
-rw-r--r-- | src/espik_net.c | 3 |
8 files changed, 11 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 94e237d..a023d4c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,7 +9,7 @@ ESPIKHEADERS = \ espik_net.h \ espik_config.h \ espik_common_handler.h \ - global.h + espik_global.h espik_SOURCES = \ espik.c \ diff --git a/src/espik.c b/src/espik.c index 64aa00c..6092a51 100644 --- a/src/espik.c +++ b/src/espik.c @@ -2,6 +2,7 @@ #include <stdlib.h> #include <errno.h> #include <string.h> +#include <unistd.h> /* EFL Stuff */ #include <Ecore.h> diff --git a/src/espik_common_handler.c b/src/espik_common_handler.c index 3223413..b0c854b 100644 --- a/src/espik_common_handler.c +++ b/src/espik_common_handler.c @@ -6,7 +6,7 @@ #include <Ecore.h> #include <Ecore_Con.h> -#include "global.h" +#include "espik_global.h" #include "espik_common_handler.h" #include "espik_irc.h" #include "espik_net.h" diff --git a/src/espik_common_handler.h b/src/espik_common_handler.h index a9447c1..603ace5 100644 --- a/src/espik_common_handler.h +++ b/src/espik_common_handler.h @@ -1,7 +1,7 @@ #ifndef _HAVE_ESPIK_COMMON_HANDLER_H #define _HAVE_ESPIK_COMMON_HANDLER_H -#include "global.h" +#include "espik_global.h" #include <Ecore_Con.h> #include <Ecore.h> diff --git a/src/espik_config.h b/src/espik_config.h index 129d2a7..9ca1096 100644 --- a/src/espik_config.h +++ b/src/espik_config.h @@ -1,8 +1,8 @@ #ifndef _HAVE_ESPIK_CONFIG_H #define _HAVE_ESPIK_CONFIG_H -#include "global.h" #include "espik.h" +#include "espik_global.h" t_servinfo *espik_server_config_set (char *, unsigned short); t_userinfo *espik_user_sysinfo_get (); diff --git a/src/global.h b/src/espik_global.h index e7b5bc0..e7b5bc0 100644 --- a/src/global.h +++ b/src/espik_global.h diff --git a/src/espik_irc.c b/src/espik_irc.c index e26359f..5af50bc 100644 --- a/src/espik_irc.c +++ b/src/espik_irc.c @@ -5,7 +5,7 @@ #include <Ecore.h> //#include <Ecore_Con.h> -#include "global.h" +#include "espik_global.h" #include "espik_irc.h" #include "espik_error.h" //#include "espik_common_handler.h" @@ -176,6 +176,8 @@ char* irc_nick (char* chan __UNUSED__, char* nick) snprintf (out, len, "NICK :%s", nick); printf ("NICK CHANGED REQUEST: %s\n", nick); + + return (nick); } /* diff --git a/src/espik_net.c b/src/espik_net.c index 416f815..adfddeb 100644 --- a/src/espik_net.c +++ b/src/espik_net.c @@ -9,6 +9,9 @@ #include "espik_error.h" #include "espik.h" +#include <unistd.h> +#include <stdlib.h> + typedef int (*Handler_Func) (void* data, int ev_type, void* ev); Ecore_Con_Server* con_sock; |