summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:31 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:31 -0800
commitabfd5077383bbfce2a0808e4c8a6d134b48c0300 (patch)
treeb7e96b5533b80742e568d2d70c93313b8e07dcb2
parent5e0936b99e2d50769c5432b47c4d07c3dcdd37c6 (diff)
downloadnetcat-abfd5077383bbfce2a0808e4c8a6d134b48c0300.tar.gz
auto import from //depot/cupcake/@136594
-rw-r--r--netcat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/netcat.c b/netcat.c
index e6b8a1b..c1d3f08 100644
--- a/netcat.c
+++ b/netcat.c
@@ -952,7 +952,7 @@ dol_err:
Use the time delay between writes if given, otherwise use the "tcp ping"
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. */
-udptest (fd, where)
+int udptest (fd, where)
int fd;
IA * where;
{
@@ -1300,7 +1300,7 @@ Debug (("wrote %d to net, errno %d", rr, errno))
/* main :
now we pull it all together... */
-main (argc, argv)
+int main (argc, argv)
int argc;
char ** argv;
{