[Shadowirc-commits] CVS: shadowirc/src/ident_tool ident_tool.c,1.4,1.5
Status: Alpha
Brought to you by:
dshadow
|
From: John B. <ds...@us...> - 2005-05-01 05:35:26
|
Update of /cvsroot/shadowirc/shadowirc/src/ident_tool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2149/src/ident_tool Modified Files: ident_tool.c Log Message: Compiler warning: no previous prototype Index: ident_tool.c =================================================================== RCS file: /cvsroot/shadowirc/shadowirc/src/ident_tool/ident_tool.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ident_tool.c 30 Jul 2003 06:05:00 -0000 1.4 +++ ident_tool.c 1 May 2005 05:35:18 -0000 1.5 @@ -16,7 +16,10 @@ #include <sys/socket.h> #include <netdb.h> -ssize_t write_fd(int fd, void *ptr, size_t nbytes, int sendfd) { +ssize_t write_fd(int fd, void *ptr, size_t nbytes, int sendfd); + +ssize_t write_fd(int fd, void *ptr, size_t nbytes, int sendfd) +{ struct msghdr msg; struct iovec iov[1]; |