From abde472962e63d7c95f4c1d545cae0b3c92d36b8 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 13 Jul 1996 01:20:08 +0000 Subject: [PATCH] Substitute `struct fd_set' with `fd_set'. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@606 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftp/ftp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/appl/ftp/ftp/ftp.c b/appl/ftp/ftp/ftp.c index bcb68a015..b549c02c7 100644 --- a/appl/ftp/ftp/ftp.c +++ b/appl/ftp/ftp/ftp.c @@ -507,13 +507,13 @@ getreply(int expecteof) #endif int -empty(struct fd_set *mask, int sec) +empty(fd_set *mask, int sec) { struct timeval t; t.tv_sec = (long) sec; t.tv_usec = 0; - return (select(32, mask, (struct fd_set *) 0, (struct fd_set *) 0, &t)); + return (select(32, mask, (fd_set *) 0, (fd_set *) 0, &t)); } jmp_buf sendabort; @@ -1397,7 +1397,7 @@ proxtrans(char *cmd, char *local, char *remote) sighand oldintr; int secndflag = 0, prox_type, nfnd; char *cmd2; - struct fd_set mask; + fd_set mask; if (strcmp(cmd, "RETR")) cmd2 = "RETR"; @@ -1512,7 +1512,7 @@ abort: void reset(int argc, char **argv) { - struct fd_set mask; + fd_set mask; int nfnd = 1; FD_ZERO(&mask); @@ -1579,7 +1579,7 @@ abort_remote(FILE *din) { char buf[BUFSIZ]; int nfnd; - struct fd_set mask; + fd_set mask; /* * send IAC in urgent mode instead of DM because 4.3BSD places oob mark