From e18cc86066070b2b60c6931a5eddbcc87b17270b Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Fri, 2 Aug 2024 16:24:24 +0900 Subject: [PATCH] in_forward: gzip: Remove a needless files and include header Signed-off-by: Hiroshi Hatake --- include/fluent-bit/flb_gzip_concatenated.h | 31 ---------------------- plugins/in_forward/fw_prot.c | 1 - 2 files changed, 32 deletions(-) delete mode 100644 include/fluent-bit/flb_gzip_concatenated.h diff --git a/include/fluent-bit/flb_gzip_concatenated.h b/include/fluent-bit/flb_gzip_concatenated.h deleted file mode 100644 index 9a0b13b868e..00000000000 --- a/include/fluent-bit/flb_gzip_concatenated.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ - -/* Fluent Bit - * ========== - * Copyright (C) 2015-2024 The Fluent Bit Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef FLB_GZIP_CONCATENATED_H -#define FLB_GZIP_CONCATENATED_H - -#include -#include -#include -#include - -size_t flb_gzip_concatenated_count(const char *data, size_t len); -size_t flb_gzip_concatenated_borders(const char *data, size_t len, size_t **out_borders, size_t border_count); - -#endif diff --git a/plugins/in_forward/fw_prot.c b/plugins/in_forward/fw_prot.c index a4f5fa6a8b2..82d37244a5b 100644 --- a/plugins/in_forward/fw_prot.c +++ b/plugins/in_forward/fw_prot.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include