From 14e8af5932109a11b97c69fc23564d8f2d81f6f1 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 4 Jun 2020 08:34:19 +0200 Subject: [PATCH] CLEANUP: include: remove empty raw_sock.h This one only contained an include for types/stream_interface.h, which was already present in its 3 users. --- include/proto/raw_sock.h | 34 ---------------------------------- src/raw_sock.c | 1 - src/stats.c | 1 - src/stream.c | 1 - 4 files changed, 37 deletions(-) delete mode 100644 include/proto/raw_sock.h diff --git a/include/proto/raw_sock.h b/include/proto/raw_sock.h deleted file mode 100644 index 97da3535e8..0000000000 --- a/include/proto/raw_sock.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * include/proto/raw_sock.h - * This file contains definition for raw stream socket operations - * - * Copyright (C) 2000-2012 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_RAW_SOCK_H -#define _PROTO_RAW_SOCK_H - -#include - -#endif /* _PROTO_RAW_SOCK_H */ - -/* - * Local variables: - * c-indent-level: 8 - * c-basic-offset: 8 - * End: - */ diff --git a/src/raw_sock.c b/src/raw_sock.c index 3c64d3cab9..1ece79b33f 100644 --- a/src/raw_sock.c +++ b/src/raw_sock.c @@ -33,7 +33,6 @@ #include #include #include -#include #include #include diff --git a/src/stats.c b/src/stats.c index fa193bcc8d..43654e4178 100644 --- a/src/stats.c +++ b/src/stats.c @@ -66,7 +66,6 @@ #include #include #include -#include #include #include diff --git a/src/stream.c b/src/stream.c index b3c6a0c034..c87316be89 100644 --- a/src/stream.c +++ b/src/stream.c @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include -- 2.47.2