From f484131954b63815e856bd5bc804d8fa5fb286ca Mon Sep 17 00:00:00 2001 From: Bas van den Berg Date: Tue, 11 Feb 2020 14:05:52 +0100 Subject: [PATCH] Fix duplicate header includes --- src/liblsquic/lsquic_di_hash.c | 1 - src/liblsquic/lsquic_enc_sess_ietf.c | 2 -- src/liblsquic/lsquic_engine.c | 1 - src/liblsquic/lsquic_hcso_writer.c | 1 - src/liblsquic/lsquic_mini_conn.c | 1 - src/liblsquic/lsquic_parse_gquic_common.c | 2 -- src/liblsquic/lsquic_parse_ietf_v1.c | 1 - src/liblsquic/lsquic_parse_iquic_common.c | 1 - src/liblsquic/lsquic_qdec_hdl.c | 1 - src/liblsquic/lsquic_send_ctl.c | 1 - src/liblsquic/lsquic_sfcw.c | 1 - 11 files changed, 13 deletions(-) diff --git a/src/liblsquic/lsquic_di_hash.c b/src/liblsquic/lsquic_di_hash.c index 9f116c7..4279b1f 100644 --- a/src/liblsquic/lsquic_di_hash.c +++ b/src/liblsquic/lsquic_di_hash.c @@ -29,7 +29,6 @@ #include "lsquic_sfcw.h" #include "lsquic_varint.h" #include "lsquic_hq.h" -#include "lsquic_varint.h" #include "lsquic_hash.h" #include "lsquic_stream.h" #include "lsquic_mm.h" diff --git a/src/liblsquic/lsquic_enc_sess_ietf.c b/src/liblsquic/lsquic_enc_sess_ietf.c index 053c7bf..da50caf 100644 --- a/src/liblsquic/lsquic_enc_sess_ietf.c +++ b/src/liblsquic/lsquic_enc_sess_ietf.c @@ -39,10 +39,8 @@ #include "lsquic_byteswap.h" #include "lsquic_ev_log.h" #include "lsquic_trans_params.h" -#include "lsquic_engine_public.h" #include "lsquic_version.h" #include "lsquic_ver_neg.h" -#include "lsquic_byteswap.h" #include "lsquic_frab_list.h" #include "lsquic_tokgen.h" #include "lsquic_ietf.h" diff --git a/src/liblsquic/lsquic_engine.c b/src/liblsquic/lsquic_engine.c index f687d4f..1afb20b 100644 --- a/src/liblsquic/lsquic_engine.c +++ b/src/liblsquic/lsquic_engine.c @@ -73,7 +73,6 @@ #include "lsquic_attq.h" #include "lsquic_min_heap.h" #include "lsquic_http1x_if.h" -#include "lsquic_parse_common.h" #include "lsquic_handshake.h" #include "lsquic_crand.h" #include "lsquic_ietf.h" diff --git a/src/liblsquic/lsquic_hcso_writer.c b/src/liblsquic/lsquic_hcso_writer.c index a6addaa..fe53e8c 100644 --- a/src/liblsquic/lsquic_hcso_writer.c +++ b/src/liblsquic/lsquic_hcso_writer.c @@ -18,7 +18,6 @@ #include "lsquic_hash.h" #include "lsquic_stream.h" #include "lsquic_frab_list.h" -#include "lsquic_varint.h" #include "lsquic_byteswap.h" #include "lsquic_hcso_writer.h" #include "lsquic_conn.h" diff --git a/src/liblsquic/lsquic_mini_conn.c b/src/liblsquic/lsquic_mini_conn.c index 6941e4e..c66b67e 100644 --- a/src/liblsquic/lsquic_mini_conn.c +++ b/src/liblsquic/lsquic_mini_conn.c @@ -46,7 +46,6 @@ #include "lsquic_sfcw.h" #include "lsquic_varint.h" #include "lsquic_hq.h" -#include "lsquic_varint.h" #include "lsquic_stream.h" #include "lsquic_rechist.h" #include "lsquic_ev_log.h" diff --git a/src/liblsquic/lsquic_parse_gquic_common.c b/src/liblsquic/lsquic_parse_gquic_common.c index d452ddf..72ff4fd 100644 --- a/src/liblsquic/lsquic_parse_gquic_common.c +++ b/src/liblsquic/lsquic_parse_gquic_common.c @@ -21,10 +21,8 @@ #include "lsquic_packet_out.h" #include "lsquic_packet_gquic.h" #include "lsquic_packet_in.h" -#include "lsquic_packet_out.h" #include "lsquic_parse_common.h" #include "lsquic_parse.h" -#include "lsquic_parse_common.h" #include "lsquic_version.h" #include "lsquic.h" diff --git a/src/liblsquic/lsquic_parse_ietf_v1.c b/src/liblsquic/lsquic_parse_ietf_v1.c index 1e4b950..1d67fc7 100644 --- a/src/liblsquic/lsquic_parse_ietf_v1.c +++ b/src/liblsquic/lsquic_parse_ietf_v1.c @@ -34,7 +34,6 @@ #include "lsquic_version.h" #include "lsquic.h" #include "lsquic_byteswap.h" -#include "lsquic_varint.h" #include "lsquic_conn.h" #include "lsquic_enc_sess.h" #include "lsquic_trans_params.h" diff --git a/src/liblsquic/lsquic_parse_iquic_common.c b/src/liblsquic/lsquic_parse_iquic_common.c index 84590b6..4351c62 100644 --- a/src/liblsquic/lsquic_parse_iquic_common.c +++ b/src/liblsquic/lsquic_parse_iquic_common.c @@ -25,7 +25,6 @@ #include "lsquic_varint.h" #include "lsquic_enc_sess.h" #include "lsquic_tokgen.h" -#include "lsquic.h" #include "lsquic_mm.h" #include "lsquic_engine_public.h" #include "lsquic_ietf.h" diff --git a/src/liblsquic/lsquic_qdec_hdl.c b/src/liblsquic/lsquic_qdec_hdl.c index 7a73575..32edb61 100644 --- a/src/liblsquic/lsquic_qdec_hdl.c +++ b/src/liblsquic/lsquic_qdec_hdl.c @@ -25,7 +25,6 @@ #include "lsquic_mm.h" #include "lsquic_engine_public.h" #include "lsquic_headers.h" -#include "lsquic_http1x_if.h" #include "lsquic_conn.h" #define LSQUIC_LOGGER_MODULE LSQLM_QDEC_HDL diff --git a/src/liblsquic/lsquic_send_ctl.c b/src/liblsquic/lsquic_send_ctl.c index 876fa3a..51e13cd 100644 --- a/src/liblsquic/lsquic_send_ctl.c +++ b/src/liblsquic/lsquic_send_ctl.c @@ -42,7 +42,6 @@ #include "lsquic_conn_public.h" #include "lsquic_cong_ctl.h" #include "lsquic_enc_sess.h" -#include "lsquic_hash.h" #include "lsquic_malo.h" #include "lsquic_attq.h" #include "lsquic_http1x_if.h" diff --git a/src/liblsquic/lsquic_sfcw.c b/src/liblsquic/lsquic_sfcw.c index c44ca82..30570d0 100644 --- a/src/liblsquic/lsquic_sfcw.c +++ b/src/liblsquic/lsquic_sfcw.c @@ -12,7 +12,6 @@ #include "lsquic_rtt.h" #include "lsquic_varint.h" #include "lsquic_sfcw.h" -#include "lsquic_varint.h" #include "lsquic_hq.h" #include "lsquic_hash.h" #include "lsquic_stream.h"