From d7d2c281048dc8eeb65a3e68561be6f22d2fd59e Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 4 Jun 2020 14:04:31 +0200 Subject: [PATCH] CLEANUP: include: remove unused mux_pt.h It used to be needed to export mux_pt_ops when it was the only way to detect a mux but that's no longer the case. --- include/proto/mux_pt.h | 37 ------------------------------------- src/backend.c | 1 - src/checks.c | 1 - src/peers.c | 1 - src/stream_interface.c | 1 - 5 files changed, 41 deletions(-) delete mode 100644 include/proto/mux_pt.h diff --git a/include/proto/mux_pt.h b/include/proto/mux_pt.h deleted file mode 100644 index d61305ace..000000000 --- a/include/proto/mux_pt.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * include/proto/mux_pt.h - * This file contains the pass-though mux function prototypes - * - * Copyright (C) 2017 Willy Tarreau - w@1wt.eu - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation, version 2.1 - * exclusively. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef _PROTO_MUX_PT_H -#define _PROTO_MUX_PT_H - -#include -#include - -extern const struct mux_ops mux_pt_ops; - -#endif /* _PROTO_MUX_PT_H */ - -/* - * Local variables: - * c-indent-level: 8 - * c-basic-offset: 8 - * End: - */ diff --git a/src/backend.c b/src/backend.c index 856713545..f8b8ddb05 100644 --- a/src/backend.c +++ b/src/backend.c @@ -43,7 +43,6 @@ #include #include #include -#include #include #include #include diff --git a/src/checks.c b/src/checks.c index 314a1b286..2e4c4b0c2 100644 --- a/src/checks.c +++ b/src/checks.c @@ -55,7 +55,6 @@ #include #include #include -#include #include #include #include diff --git a/src/peers.c b/src/peers.c index 625360431..899d5b469 100644 --- a/src/peers.c +++ b/src/peers.c @@ -40,7 +40,6 @@ #include #include #include -#include #include #include #include diff --git a/src/stream_interface.c b/src/stream_interface.c index 02d20a003..bd991de2d 100644 --- a/src/stream_interface.c +++ b/src/stream_interface.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include