diff options
author | Epoch Qwert <epoch@53flpnlls43fcguy.onion> | 2014-10-26 01:33:49 -0500 |
---|---|---|
committer | Epoch Qwert <epoch@53flpnlls43fcguy.onion> | 2014-10-26 01:33:49 -0500 |
commit | 135482f52e2bcb14592ba60f97ea60088aa39275 (patch) | |
tree | 2be6fd6bade6e2f25092e35f9a9b67c7b26a4158 /libirc | |
parent | d12cc17afd5ee2c9b589cf5ceb632a98e6f31ecf (diff) | |
download | segfault-135482f52e2bcb14592ba60f97ea60088aa39275.tar.gz segfault-135482f52e2bcb14592ba60f97ea60088aa39275.zip |
Made segfault compile without warnings again. This time with -std=c99. You know how to read Makefiles.
Diffstat (limited to 'libirc')
-rw-r--r-- | libirc/Makefile | 1 | ||||
-rw-r--r-- | libirc/irc.h | 1 | ||||
-rw-r--r-- | libirc/libirc.c | 2 | ||||
-rw-r--r-- | libirc/libirc.o | bin | 3488 -> 0 bytes | |||
-rwxr-xr-x | libirc/libirc.so | bin | 7561 -> 0 bytes |
5 files changed, 3 insertions, 1 deletions
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 Binary files differdeleted file mode 100644 index bfabfb8..0000000 --- a/libirc/libirc.o +++ /dev/null diff --git a/libirc/libirc.so b/libirc/libirc.so Binary files differdeleted file mode 100755 index 222613c..0000000 --- a/libirc/libirc.so +++ /dev/null |