aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-10-27 14:39:31 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2024-04-15 18:03:28 +0000
commit89dd0612d933783ae9f41e81e0c00f1bd03194fe (patch)
tree1aa37321fee3f8f069db353039785bc99cbf108f
parent11f154ca86a007eefc5212e27e31ad0ff65a884e (diff)
netinet: The tailq_hash code doesn't reference tcpoutflags
Don't define TCPOUTFLAGS to get the static definition from tcp_fsm.h. tailq_hash.c doesn't refernce tcpoutflag. Only files that reference this should define TCPOUTFLAGS. clang is fine with it, but gcc12 complained. Sponsored by: Netflix (cherry picked from commit afd155c72bf65c056d19473569cc78c6e5807b3b)
-rw-r--r--sys/netinet/tcp_stacks/tailq_hash.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/tcp_stacks/tailq_hash.c b/sys/netinet/tcp_stacks/tailq_hash.c
index 0792905e0128..5977bf874950 100644
--- a/sys/netinet/tcp_stacks/tailq_hash.c
+++ b/sys/netinet/tcp_stacks/tailq_hash.c
@@ -58,7 +58,6 @@
#include <netinet6/in6_pcb.h>
#include <netinet6/ip6_var.h>
#include <netinet/tcp.h>
-#define TCPOUTFLAGS
#include <netinet/tcp_fsm.h>
#include <netinet/tcp_seq.h>
#include <netinet/tcp_timer.h>