From: Andre Noll Date: Thu, 16 Nov 2017 01:41:31 +0000 (+0100) Subject: Remove some unused includes from {dccp,http}_send.c. X-Git-Tag: v0.6.2~4^2~10 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=b0ec08945c28e35558ed85691b57f314724f7613 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. --- 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"