summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSaleem Abdulrasool <[email protected]>2021-08-20 18:21:20 +0000
committerMark Wielaard <[email protected]>2021-08-27 17:15:46 +0200
commitd0c72317dcde4c21e88e37dfd865335fc7f0c079 (patch)
tree9d34cccb1bebafc47755de1b958c98180ce35a21 /src
parentd390548df1942e98a1d836269a5e41ba52e121f1 (diff)
debuginfod, elfclassify: remove unnecessary header inclusion
`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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/elfclassify.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 312bc503..b729eaa4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2021-08-20 Saleem Abdulrasool <[email protected]>
+
+ * elfclassify.c: Remove error.h include.
+
2021-03-18 Timm Bäder <[email protected]>
* readelf.c (run_advance_pc): New static inline function
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 <system.h>
#include <argp.h>
-#include <error.h>
#include <fcntl.h>
#include <gelf.h>
#include <stdbool.h>