Date: Thu, 10 Sep 2020 18:04:34 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r365604 - stable/12/sys/netinet/tcp_stacks Message-ID: <202009101804.08AI4YOW048483@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Thu Sep 10 18:04:34 2020 New Revision: 365604 URL: https://svnweb.freebsd.org/changeset/base/365604 Log: MFC r350061: Fix compilation on platforms using gcc. When compiling RACK on platforms using gcc, a warning that tcp_outflags is defined but not used is issued and terminates compilation on PPC64, for example. So don't indicate that tcp_outflags is used. Modified: stable/12/sys/netinet/tcp_stacks/rack_bbr_common.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/netinet/tcp_stacks/rack_bbr_common.c ============================================================================== --- stable/12/sys/netinet/tcp_stacks/rack_bbr_common.c Thu Sep 10 17:58:24 2020 (r365603) +++ stable/12/sys/netinet/tcp_stacks/rack_bbr_common.c Thu Sep 10 18:04:34 2020 (r365604) @@ -85,7 +85,6 @@ __FBSDID("$FreeBSD$"); #include <netinet/ip6.h> #include <netinet6/in6_pcb.h> #include <netinet6/ip6_var.h> -#define TCPOUTFLAGS #include <netinet/tcp.h> #include <netinet/tcp_fsm.h> #include <netinet/tcp_seq.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009101804.08AI4YOW048483>