=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nc/netcat.c,v retrieving revision 1.17 retrieving revision 1.18 diff -c -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 **** ! /* $OpenBSD: netcat.c,v 1.17 2000/09/26 18:53:13 ericj Exp $ */ /* Netcat 1.10 RELEASE 960320 * --- 1,4 ---- ! /* $OpenBSD: netcat.c,v 1.18 2000/12/01 02:25:58 ericj Exp $ */ /* Netcat 1.10 RELEASE 960320 * *************** *** 37,42 **** --- 37,43 ---- #include #include #include + #include #include /* hostent, gethostby*, getservby* */ #include #include *************** *** 45,50 **** --- 46,52 ---- #include #include #include + #include #include #include #include *************** *** 686,691 **** --- 688,694 ---- * 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,1340 **** --- 1338,1344 ---- */ void nlog(doexit, fmt) + int doexit; char *fmt; { va_list args; *************** *** 1359,1364 **** --- 1363,1369 ---- void usage(doexit) + int doexit; { fprintf(stderr, "netcat - [v1.10]\n"); fprintf(stderr, "nc [-lnrtuvz] [-e command] [-g intermediates]\n");