aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin (Beber) <beber@setibzh.com>2006-03-17 14:06:30 +0100
committerJACQUIN Bertrand Ext ROSI/DPS <bjacquin.ext@francetelecom.com>2006-03-17 14:06:30 +0100
commit87cca51e1fb06740b14b81e32d845ecf07f63ae4 (patch)
tree0be818519aa4752177e51e8ddd8efb8ab407df10
parentAdd a trailing white space detector script (diff)
downloadespik-87cca51e1fb06740b14b81e32d845ecf07f63ae4.tar.xz
change a bit headers and indeting
-rw-r--r--src/espik.h8
-rw-r--r--src/espik_common_handler.h6
-rw-r--r--src/espik_config.h16
-rw-r--r--src/espik_debug.h6
-rw-r--r--src/espik_error.h6
-rw-r--r--src/espik_global.h6
-rw-r--r--src/espik_irc.h10
-rw-r--r--src/espik_irc_return_value.h6
-rw-r--r--src/espik_net.h6
9 files changed, 35 insertions, 35 deletions
diff --git a/src/espik.h b/src/espik.h
index fba8283..6f89e99 100644
--- a/src/espik.h
+++ b/src/espik.h
@@ -1,5 +1,5 @@
-#ifndef HAVE_ESPIK_H
-#define HAVE_ESPIK_H
+#ifndef ESPIK_H
+#define ESPIK_H
#include <Ecore_Data.h>
@@ -27,7 +27,7 @@ Ecore_List *ptr_list;
void espik_free (void*);
int del_backslash (char*);
-void espik_shutdown();
+void espik_shutdown();
int main (int, char**);
-#endif /* HAVE_ESPIK_H */
+#endif /* ESPIK_H */
diff --git a/src/espik_common_handler.h b/src/espik_common_handler.h
index 49f411d..7bbf6c6 100644
--- a/src/espik_common_handler.h
+++ b/src/espik_common_handler.h
@@ -1,5 +1,5 @@
-#ifndef HAVE_ESPIK_COMMON_HANDLER_H
-#define HAVE_ESPIK_COMMON_HANDLER_H
+#ifndef ESPIK_COMMON_HANDLER_H
+#define ESPIK_COMMON_HANDLER_H
#include <Ecore_Con.h>
#include <Ecore.h>
@@ -8,4 +8,4 @@
int kb_get (void *__UNUSED__, Ecore_Fd_Handler *);
-#endif /* HAVE_ESPIK_COMMON_HANDLER_H */
+#endif /* ESPIK_COMMON_HANDLER_H */
diff --git a/src/espik_config.h b/src/espik_config.h
index f9bb213..77f49ce 100644
--- a/src/espik_config.h
+++ b/src/espik_config.h
@@ -1,16 +1,16 @@
-#ifndef HAVE_ESPIK_CONFIG_H
-#define HAVE_ESPIK_CONFIG_H
+#ifndef ESPIK_CONFIG_H
+#define ESPIK_CONFIG_H
#include "espik.h"
#include "espik_global.h"
t_servinfo *espik_server_config_set (char*, unsigned short);
t_userinfo *espik_user_sysinfo_get ();
-void espik_config_default_set ();
-void espik_config_init ();
-void espik_config_get (t_info*);
-void espik_config_set (t_info);
-void espik_config_shutdown (t_info);
+void espik_config_default_set ();
+void espik_config_init ();
+void espik_config_get (t_info*);
+void espik_config_set (t_info);
+void espik_config_shutdown (t_info);
#define ESPIK_CONFIG_VERSION 1
@@ -42,4 +42,4 @@ struct _espik_config
struct channel* cuurent_channel;
};
-#endif /* HAVE_ESPIK_CONFIG_H */
+#endif /* ESPIK_CONFIG_H */
diff --git a/src/espik_debug.h b/src/espik_debug.h
index 99be3fe..e1c058b 100644
--- a/src/espik_debug.h
+++ b/src/espik_debug.h
@@ -1,5 +1,5 @@
-#ifndef HAVE_ESPIK_DEBUG_H
-#define HAVE_ESPIK_DEBUG_H
+#ifndef ESPIK_DEBUG_H
+#define ESPIK_DEBUG_H
#include "espik_global.h"
@@ -58,4 +58,4 @@ void espik_debug_init();
void kill_me (short num);
#endif
-#endif /* HAVE_ESPIK_DEBUG_H */
+#endif /* ESPIK_DEBUG_H */
diff --git a/src/espik_error.h b/src/espik_error.h
index 940f839..44b6875 100644
--- a/src/espik_error.h
+++ b/src/espik_error.h
@@ -1,4 +1,4 @@
-#ifndef HAVE_ESPIK_ERROR_H
-#define HAVE_ESPIK_ERROR_H
+#ifndef ESPIK_ERROR_H
+#define ESPIK_ERROR_H
-#endif /* HAVE_ESPIK_ERROR_H */
+#endif /* ESPIK_ERROR_H */
diff --git a/src/espik_global.h b/src/espik_global.h
index 79b16fd..1e5ab3e 100644
--- a/src/espik_global.h
+++ b/src/espik_global.h
@@ -1,5 +1,5 @@
-#ifndef HAVE_ESPIK_GLOBAL_H
-#define HAVE_ESPIK_GLOBAL_H
+#ifndef ESPIK_GLOBAL_H
+#define ESPIK_GLOBAL_H
#include "../config.h"
@@ -14,4 +14,4 @@
# define __UNUSED__
#endif /* HAVE___ATTRIBUTE__ */
-#endif /* HAVE_ESPIK_GLOBAL_H */
+#endif /* ESPIK_GLOBAL_H */
diff --git a/src/espik_irc.h b/src/espik_irc.h
index 5d72095..af099fd 100644
--- a/src/espik_irc.h
+++ b/src/espik_irc.h
@@ -1,5 +1,5 @@
-#ifndef HAVE_ESPIK_IRC_H
-#define HAVE_ESPIK_IRC_H
+#ifndef ESPIK_IRC_H
+#define ESPIK_IRC_H
typedef struct
{
@@ -7,7 +7,7 @@ typedef struct
int len;
} buf_t;
-unsigned short sendmsg_len (char*);
+unsigned short sendmsg_len (char*);
char* irc_send (char*);
char* irc_privmsg (char*, char *);
@@ -23,7 +23,7 @@ buf_t make_buffer(int);
/*void string_upper (char*);*/
/*Ecore_Con_Server* irc_connect (char*, int);*/
-/*void irc_disconnect (Ecore_Con_Server*);*/
+/*void irc_disconnect (Ecore_Con_Server*);*/
-#endif /* HAVE_ESPIK_IRC_H */
+#endif /* ESPIK_IRC_H */
diff --git a/src/espik_irc_return_value.h b/src/espik_irc_return_value.h
index f4295d8..3ff1bbd 100644
--- a/src/espik_irc_return_value.h
+++ b/src/espik_irc_return_value.h
@@ -1,5 +1,5 @@
-#ifndef HAVE_ESPIK_IRC_RETURN_VALUE_H
-#define HAVE_ESPIK_IRC_RETURN_VALUE_H
+#ifndef ESPIK_IRC_RETURN_VALUE_H
+#define ESPIK_IRC_RETURN_VALUE_H
#define RPL_WELCOME 001 /* Welcome to the IRC <nick>!<user>@<host> */
#define RPL_YOURHOST 002 /* Your host is <servername>, running version <ver>" */
@@ -14,4 +14,4 @@
#define ERR_NICKNAMEINUSE 433
#define ERR_NICKCOLLISION 436
-#endif /*HAVE_ESPIK_IRC_RETURN_VALUE_H */
+#endif /* ESPIK_IRC_RETURN_VALUE_H */
diff --git a/src/espik_net.h b/src/espik_net.h
index a095ba9..1474721 100644
--- a/src/espik_net.h
+++ b/src/espik_net.h
@@ -1,5 +1,5 @@
-#ifndef HAVE_ESPIK_NET_H
-#define HAVE_ESPIK_NET_H
+#ifndef ESPIK_NET_H
+#define ESPIK_NET_H
#include "espik.h"
@@ -9,4 +9,4 @@ void espik_con_up();
void espik_con_shutdown ();
void send_login();
-#endif /* HAVE_ESPIK_NET_H */
+#endif /* ESPIK_NET_H */