summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hack.thebackupbox.net>2019-11-15 04:05:55 +0000
committerepoch <epoch@hack.thebackupbox.net>2019-11-15 04:05:55 +0000
commit91be209597e21772319c8374b9d7adfb5cc913d5 (patch)
tree613dfd2cf62cf9d70d66372629bce60a76e00e7b
parent58ba5c203e7a6ee5c10fd063fd3981df3d9546dc (diff)
downloadlibirc-master.tar.gz
libirc-master.zip
put header guards in irc.hHEADmaster
-rw-r--r--irc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/irc.h b/irc.h
index 12dfcff..5419983 100644
--- a/irc.h
+++ b/irc.h
@@ -1,3 +1,6 @@
+#ifndef _LIBIRC_IRC_H_
+#define _LIBIRC_IRC_H_
+
struct user {
char *nick;
char *user;
@@ -10,3 +13,5 @@ int ircConnect(char *serv,char *port,char *nick,char *user) ;
int serverConnect(char *serv,char *port) ;
char **line_cutter(int fd,char *line,struct user *user) ;
void irc_handler(struct shit *me,char *line);
+
+#endif