=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nc/netcat.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- src/usr.bin/nc/netcat.c 2000/09/26 18:53:13 1.17 +++ src/usr.bin/nc/netcat.c 2000/12/01 02:25:58 1.18 @@ -1,4 +1,4 @@ -/* $OpenBSD: netcat.c,v 1.17 2000/09/26 18:53:13 ericj Exp $ */ +/* $OpenBSD: netcat.c,v 1.18 2000/12/01 02:25:58 ericj Exp $ */ /* Netcat 1.10 RELEASE 960320 * @@ -37,6 +37,7 @@ #include #include #include +#include #include /* hostent, gethostby*, getservby* */ #include #include @@ -45,6 +46,7 @@ #include #include #include +#include #include #include #include @@ -686,6 +688,7 @@ * trick for getting the RTT. [I got that idea from pluvius, and warped it.] * Return either the original fd, or clean up and return -1. */ +int udptest(fd, where) int fd; struct in_addr *where; @@ -1335,6 +1338,7 @@ */ void nlog(doexit, fmt) + int doexit; char *fmt; { va_list args; @@ -1359,6 +1363,7 @@ void usage(doexit) + int doexit; { fprintf(stderr, "netcat - [v1.10]\n"); fprintf(stderr, "nc [-lnrtuvz] [-e command] [-g intermediates]\n");