From patchwork Fri Aug 20 18:21:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saleem Abdulrasool X-Patchwork-Id: 45851 From: abdulras@google.com (Saleem Abdulrasool) Date: Fri, 20 Aug 2021 18:21:20 +0000 Subject: [PATCH] debuginfod, elfclassify: remove unnecessary header inclusion Message-ID: <20210820182120.2841876-1-abdulras@google.com> `error.h`'s inclusion was centralised into the `system.h` header. As the implementation currently includes `system.h` already, the inclusion of `error.h` is unnecessary. This prepares for a future portability change to allow elfutil to build with alternate libc implementations. Signed-off-by: Saleem Abdulrasool --- debuginfod/debuginfod.cxx | 1 - src/elfclassify.c | 1 - 2 files changed, 2 deletions(-) diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx index fca07f61..b560fdcb 100644 --- a/debuginfod/debuginfod.cxx +++ b/debuginfod/debuginfod.cxx @@ -46,7 +46,6 @@ extern "C" { #include #include -#include #include #include #include diff --git a/src/elfclassify.c b/src/elfclassify.c index fe7eeeed..2f70b29a 100644 --- a/src/elfclassify.c +++ b/src/elfclassify.c @@ -19,7 +19,6 @@ #include #include -#include #include #include #include