From b0ec08945c28e35558ed85691b57f314724f7613 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 16 Nov 2017 02:41:31 +0100 Subject: [PATCH] Remove some unused includes from {dccp,http}_send.c. The access control and close on fork lists are handled in send_common.c, so the two senders do not need to know anything about them. The dccp sender does not perform chunk queuing, so it does not need to include chunk_queue.h. --- dccp_send.c | 3 --- http_send.c | 2 -- 2 files changed, 5 deletions(-) diff --git a/dccp_send.c b/dccp_send.c index 2821b21c..bd6c0257 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -28,9 +28,6 @@ #include "sched.h" #include "vss.h" #include "fd.h" -#include "close_on_fork.h" -#include "chunk_queue.h" -#include "acl.h" static struct sender_status dccp_sender_status, *dss = &dccp_sender_status; diff --git a/http_send.c b/http_send.c index 6f06673c..fb9fd9b3 100644 --- a/http_send.c +++ b/http_send.c @@ -22,11 +22,9 @@ #include "send.h" #include "sched.h" #include "vss.h" -#include "close_on_fork.h" #include "net.h" #include "fd.h" #include "chunk_queue.h" -#include "acl.h" /** Message sent to clients that do not send a valid get request. */ #define HTTP_ERR_MSG "HTTP/1.0 400 Bad Request\n" -- 2.39.2