From fea9534f13d5e0c603fd74f3f7f00ffe9094323c Mon Sep 17 00:00:00 2001 From: epochqwert Date: Tue, 31 Mar 2015 13:26:03 -0500 Subject: took the struct out of libirc.c and make it include irc.h --- libirc.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libirc.c b/libirc.c index 376a483..639b50d 100644 --- a/libirc.c +++ b/libirc.c @@ -8,6 +8,7 @@ #include #include #include +#include "irc.h" //#define DEBUG "epoch" //nick or channel to send debug info to. #define CHUNK 4096 @@ -205,12 +206,6 @@ int ircConnect(char *serv,char *port,char *nick,char *user) { return fd; } -struct user { - char *nick; - char *user; - char *host; -}; - //this function mangles the input. //gotta free the returned pointer but not each pointer in the array. char **line_cutter(int fd,char *line,struct user *user) { -- cgit v1.2.3