summaryrefslogtreecommitdiff
path: root/net/nettest/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/nettest/files/patch-ab')
-rw-r--r--net/nettest/files/patch-ab26
1 files changed, 22 insertions, 4 deletions
diff --git a/net/nettest/files/patch-ab b/net/nettest/files/patch-ab
index 86333d7523cb..151746bf75f5 100644
--- a/net/nettest/files/patch-ab
+++ b/net/nettest/files/patch-ab
@@ -1,5 +1,5 @@
*** nettest.c.orig Thu Nov 5 15:52:58 1992
---- nettest.c Mon Oct 20 12:50:20 1997
+--- nettest.c Sun Sep 19 17:33:02 1999
***************
*** 92,98 ****
--- 92,102 ----
@@ -15,8 +15,26 @@
#define GETTIMES(a, b) ftime(&a); times(&b);
#define TIMETYPE struct timeb
***************
+*** 126,132 ****
+
+ void do_children(), do_stream(), usage(), do_dgram(), prtimes();
+
+! int read(), recv();
+
+ int (*rfunc)() = read;
+
+--- 130,137 ----
+
+ void do_children(), do_stream(), usage(), do_dgram(), prtimes();
+
+! int read();
+! ssize_t recv();
+
+ int (*rfunc)() = read;
+
+***************
*** 550,556 ****
---- 554,564 ----
+--- 555,565 ----
shutdown(s, 2);
exit(0);
}
@@ -38,7 +56,7 @@
if (ret < 0) {
perror(mesghdr ? "sendmsg" : "sendto");
---- 1168,1175 ----
+--- 1169,1176 ----
*data = 0;
for (i = 0; i < nchunks; i++) {
ret = mesghdr ? sendmsg(s, &outmsg, 0)
@@ -61,7 +79,7 @@
} else {
#endif
for (c = name; *c; c++) {
---- 1405,1417 ----
+--- 1406,1418 ----
register char *c;
int tos;