=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/fetch.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/ftp/fetch.c 1997/02/03 01:05:37 1.2 +++ src/usr.bin/ftp/fetch.c 1997/02/05 04:55:16 1.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: fetch.c,v 1.2 1997/02/03 01:05:37 millert Exp $ */ +/* $OpenBSD: fetch.c,v 1.3 1997/02/05 04:55:16 millert Exp $ */ /* $NetBSD: fetch.c,v 1.2 1997/02/01 10:45:00 lukem Exp $ */ /*- @@ -38,7 +38,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: fetch.c,v 1.2 1997/02/03 01:05:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: fetch.c,v 1.3 1997/02/05 04:55:16 millert Exp $"; #endif /* not lint */ /* @@ -58,6 +58,7 @@ #include #include #include +#include #include #include #include @@ -325,7 +326,8 @@ * Abort a http retrieval */ void -aborthttp() +aborthttp(notused) + int notused; { alarmtimer(0); @@ -365,8 +367,8 @@ disconnect(0, NULL); return (argpos + 1); } - (void)signal(SIGINT, intr); - (void)signal(SIGPIPE, lostpeer); + (void)signal(SIGINT, (sig_t)intr); + (void)signal(SIGPIPE, (sig_t)lostpeer); /* * Loop through as long as there's files to fetch.