]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
debuginfod, elfclassify: remove unnecessary header inclusion
authorSaleem Abdulrasool <abdulras@google.com>
Fri, 20 Aug 2021 18:21:20 +0000 (18:21 +0000)
committerMark Wielaard <mark@klomp.org>
Fri, 27 Aug 2021 15:15:46 +0000 (17:15 +0200)
`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 <abdulras@google.com>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx
src/ChangeLog
src/elfclassify.c

index 530f7dc7d96d2639e5578b6e7a3337349ad0ba79..e8e486ab607fafca9b7d0a6993243f5ff7f8a1c8 100644 (file)
@@ -1,3 +1,7 @@
+2021-08-20  Saleem Abdulrasool  <abdulras@google.com>
+
+       * debuginfod.cxx: Remove error.h include.
+
 2021-08-19  Frank Ch. Eigler  <fche@redhat.com>
 
        PR28249
index fca07f61954f0b37d78477e2540502b2133bffc8..b560fdcb8f58432173ef01fd93abcf889490d9bd 100644 (file)
@@ -46,7 +46,6 @@ extern "C" {
 
 #include <unistd.h>
 #include <stdlib.h>
-#include <error.h>
 #include <libintl.h>
 #include <locale.h>
 #include <pthread.h>
index 312bc50339b4d0b43be00bf090bb126e7295b7d7..b729eaa47ff6ea12af53223e7122cbdf0f315e27 100644 (file)
@@ -1,3 +1,7 @@
+2021-08-20  Saleem Abdulrasool  <abdulras@google.com>
+
+       * elfclassify.c: Remove error.h include.
+
 2021-03-18  Timm Bäder  <tbaeder@redhat.com>
 
        * readelf.c (run_advance_pc): New static inline function
index fe7eeeeda5990d6ab3af2890ae5127869055b537..2f70b29a58b8cb81871aeba4384cb8e2ee50bcaa 100644 (file)
@@ -19,7 +19,6 @@
 #include <system.h>
 
 #include <argp.h>
-#include <error.h>
 #include <fcntl.h>
 #include <gelf.h>
 #include <stdbool.h>