From 135482f52e2bcb14592ba60f97ea60088aa39275 Mon Sep 17 00:00:00 2001 From: Epoch Qwert Date: Sun, 26 Oct 2014 01:33:49 -0500 Subject: Made segfault compile without warnings again. This time with -std=c99. You know how to read Makefiles. --- libirc/Makefile | 1 + libirc/irc.h | 1 + libirc/libirc.c | 2 +- libirc/libirc.o | Bin 3488 -> 0 bytes libirc/libirc.so | Bin 7561 -> 0 bytes 5 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 libirc/libirc.o delete mode 100755 libirc/libirc.so (limited to 'libirc') diff --git a/libirc/Makefile b/libirc/Makefile index 95c7451..c35ed4d 100644 --- a/libirc/Makefile +++ b/libirc/Makefile @@ -12,3 +12,4 @@ clean: install: cp $(TARGET) /usr/local/lib/$(TARGET) + cp irc.h /usr/local/lib/irc.h diff --git a/libirc/irc.h b/libirc/irc.h index 7741f75..4520bf4 100644 --- a/libirc/irc.h +++ b/libirc/irc.h @@ -1,2 +1,3 @@ int runit(int fd,void (*line_handler)(),void (*extra_handler)()) ; int ircConnect(char *serv,char *port,char *nick,char *user) ; +int serverConnect(char *serv,char *port) ; diff --git a/libirc/libirc.c b/libirc/libirc.c index a9fe758..91ff357 100644 --- a/libirc/libirc.c +++ b/libirc/libirc.c @@ -12,7 +12,7 @@ //#define DEBUG "epoch" //nick or channel to send debug info to. #define CHUNK 16 -static int serverConnect(char *serv,char *port) { +int serverConnect(char *serv,char *port) { struct addrinfo hints, *servinfo, *p; int rv; int fd=0; diff --git a/libirc/libirc.o b/libirc/libirc.o deleted file mode 100644 index bfabfb8..0000000 Binary files a/libirc/libirc.o and /dev/null differ diff --git a/libirc/libirc.so b/libirc/libirc.so deleted file mode 100755 index 222613c..0000000 Binary files a/libirc/libirc.so and /dev/null differ -- cgit v1.2.3