aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-08 17:51:52 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-08 17:51:52 +0000
commitcb236290e267f17d5f81a18d742b81f1b74b05a2 (patch)
treee6c74acdaa0881bb8accab285d77f146381b2f81 /socket.c
parent7b11f0ff9972d8046e69f98948fdab26b5199caf (diff)
downloadfetchmail-cb236290e267f17d5f81a18d742b81f1b74b05a2.tar.gz
fetchmail-cb236290e267f17d5f81a18d742b81f1b74b05a2.tar.bz2
fetchmail-cb236290e267f17d5f81a18d742b81f1b74b05a2.zip
Prototypes everywhere.
svn path=/trunk/; revision=515
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/socket.c b/socket.c
index ea0b5919..f21cf1fa 100644
--- a/socket.c
+++ b/socket.c
@@ -34,9 +34,7 @@
#endif
#endif
-FILE *Socket(host, clientPort)
-char *host;
-int clientPort;
+FILE *Socket(char *host, int clientPort)
{
int sock;
unsigned long inaddr;
@@ -116,10 +114,7 @@ va_dcl {
*
*/
-int SockWrite(buf,len,sockfp)
-char *buf;
-int len;
-FILE *sockfp;
+int SockWrite(char *buf, int len, FILE *sockfp)
{
int n, wrlen = 0;
@@ -135,10 +130,7 @@ FILE *sockfp;
return wrlen;
}
-int SockGets(buf, len, sockfp)
-char *buf;
-int len;
-FILE *sockfp;
+int SockGets(char *buf, int len, FILE *sockfp)
{
int rdlen = 0;