mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Judiciously s/int/ssize_t/ so this builds on FreeBSD/Alpha.
This commit is contained in:
parent
b1c6640228
commit
44eaace109
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21783
@ -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;
|
||||
|
||||
|
@ -1,5 +1,23 @@
|
||||
*** nettestd.c.orig Thu Nov 5 15:52:58 1992
|
||||
--- nettestd.c Mon Oct 20 13:28:06 1997
|
||||
--- nettestd.c Sun Sep 19 17:31:20 1999
|
||||
***************
|
||||
*** 107,113 ****
|
||||
} name;
|
||||
int namesize;
|
||||
|
||||
! int read(), recv();
|
||||
int (*rfunc)() = read;
|
||||
|
||||
main(argc, argv)
|
||||
--- 107,114 ----
|
||||
} name;
|
||||
int namesize;
|
||||
|
||||
! int read();
|
||||
! ssize_t recv();
|
||||
int (*rfunc)() = read;
|
||||
|
||||
main(argc, argv)
|
||||
***************
|
||||
*** 416,422 ****
|
||||
)
|
||||
@ -9,7 +27,7 @@
|
||||
error("bind");
|
||||
exit(1);
|
||||
}
|
||||
--- 416,422 ----
|
||||
--- 417,423 ----
|
||||
)
|
||||
error("setsockopt (IP_OPTIONS)");
|
||||
#endif
|
||||
@ -29,7 +47,7 @@
|
||||
if (s2 < 0) {
|
||||
extern int errno;
|
||||
if (errno == EINTR)
|
||||
--- 447,456 ----
|
||||
--- 448,457 ----
|
||||
#endif
|
||||
listen(s, 5);
|
||||
|
||||
@ -49,7 +67,7 @@
|
||||
&namesize);
|
||||
}
|
||||
if (t < 0) {
|
||||
--- 723,729 ----
|
||||
--- 724,730 ----
|
||||
#endif
|
||||
{
|
||||
namesize = sizeof(name.d_inet);
|
||||
|
Loading…
Reference in New Issue
Block a user