From c2bb050f7f848e3f2daeff939fb2bceb61d48d65 Mon Sep 17 00:00:00 2001 From: Thierry FOURNIER Date: Wed, 19 Aug 2015 09:06:21 +0200 Subject: [PATCH] MINOR: proto_tcp: proto_tcp.h is now useles After removing the keyword register from types/proto_tcp.h, the header file remains empty. This patch remove it --- include/proto/proto_tcp.h | 1 - include/types/proto_tcp.h | 39 --------------------------------------- src/haproxy.c | 1 - src/hlua.c | 1 - 4 files changed, 42 deletions(-) delete mode 100644 include/types/proto_tcp.h diff --git a/include/proto/proto_tcp.h b/include/proto/proto_tcp.h index 5f589eac5..82e253a5f 100644 --- a/include/proto/proto_tcp.h +++ b/include/proto/proto_tcp.h @@ -23,7 +23,6 @@ #define _PROTO_PROTO_TCP_H #include -#include #include #include diff --git a/include/types/proto_tcp.h b/include/types/proto_tcp.h deleted file mode 100644 index 9d888a7a2..000000000 --- a/include/types/proto_tcp.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * include/types/proto_tcp.h - * This file contains TCP protocol definitions. - * - * Copyright (C) 2000-2010 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 _TYPES_PROTO_TCP_H -#define _TYPES_PROTO_TCP_H - -#include -#include - -#include -#include -#include - -#endif /* _TYPES_PROTO_TCP_H */ - -/* - * Local variables: - * c-indent-level: 8 - * c-basic-offset: 8 - * End: - */ diff --git a/src/haproxy.c b/src/haproxy.c index 13bf6b219..411089338 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -74,7 +74,6 @@ #include #include -#include #include #include diff --git a/src/hlua.c b/src/hlua.c index 32f8df412..9ba8c5444 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -16,7 +16,6 @@ #include #include -#include #include #include