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/libirc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libirc/libirc.c') 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; -- cgit v1.2.3