Cosmetics: silences gcc -Wall.
This commit is contained in:
parent
df4409487f
commit
ac0776aed7
sys/netinet
@ -31,7 +31,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)ip_icmp.c 8.2 (Berkeley) 1/4/94
|
* @(#)ip_icmp.c 8.2 (Berkeley) 1/4/94
|
||||||
* $Id: ip_icmp.c,v 1.2 1994/08/02 07:48:32 davidg Exp $
|
* $Id: ip_icmp.c,v 1.3 1994/10/02 17:48:38 phk Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -42,6 +42,7 @@
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/kernel.h>
|
#include <sys/kernel.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <net/route.h>
|
#include <net/route.h>
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)tcp_subr.c 8.1 (Berkeley) 6/10/93
|
* @(#)tcp_subr.c 8.1 (Berkeley) 6/10/93
|
||||||
* $Id: tcp_subr.c,v 1.3 1994/08/02 07:49:08 davidg Exp $
|
* $Id: tcp_subr.c,v 1.4 1994/10/02 17:48:44 phk Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -326,8 +326,8 @@ tcp_close(tp)
|
|||||||
* before we start updating, then update on both good
|
* before we start updating, then update on both good
|
||||||
* and bad news.
|
* and bad news.
|
||||||
*/
|
*/
|
||||||
if ((rt->rt_rmx.rmx_locks & RTV_SSTHRESH) == 0 &&
|
if (((rt->rt_rmx.rmx_locks & RTV_SSTHRESH) == 0 &&
|
||||||
((i = tp->snd_ssthresh)) && rt->rt_rmx.rmx_ssthresh ||
|
((i = tp->snd_ssthresh) != 0) && rt->rt_rmx.rmx_ssthresh) ||
|
||||||
i < (rt->rt_rmx.rmx_sendpipe / 2)) {
|
i < (rt->rt_rmx.rmx_sendpipe / 2)) {
|
||||||
/*
|
/*
|
||||||
* convert the limit from user data bytes to
|
* convert the limit from user data bytes to
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* @(#)tcp_subr.c 8.1 (Berkeley) 6/10/93
|
* @(#)tcp_subr.c 8.1 (Berkeley) 6/10/93
|
||||||
* $Id: tcp_subr.c,v 1.3 1994/08/02 07:49:08 davidg Exp $
|
* $Id: tcp_subr.c,v 1.4 1994/10/02 17:48:44 phk Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -326,8 +326,8 @@ tcp_close(tp)
|
|||||||
* before we start updating, then update on both good
|
* before we start updating, then update on both good
|
||||||
* and bad news.
|
* and bad news.
|
||||||
*/
|
*/
|
||||||
if ((rt->rt_rmx.rmx_locks & RTV_SSTHRESH) == 0 &&
|
if (((rt->rt_rmx.rmx_locks & RTV_SSTHRESH) == 0 &&
|
||||||
((i = tp->snd_ssthresh)) && rt->rt_rmx.rmx_ssthresh ||
|
((i = tp->snd_ssthresh) != 0) && rt->rt_rmx.rmx_ssthresh) ||
|
||||||
i < (rt->rt_rmx.rmx_sendpipe / 2)) {
|
i < (rt->rt_rmx.rmx_sendpipe / 2)) {
|
||||||
/*
|
/*
|
||||||
* convert the limit from user data bytes to
|
* convert the limit from user data bytes to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user