[03/25] libebl: There is no need #include <dlfcn.h> in eblclosebackend.c and eblopenbackend.c

Message ID 20221020182603.815-4-luoyonggang@gmail.com
State Committed
Headers
Series Patches for building with mingw/gcc msvc/clang-cl |

Commit Message

Yonggang Luo Oct. 20, 2022, 6:25 p.m. UTC
  It's not accessed symbols in dlfcn.h in eblclosebackend.c and eblopenbackend.c

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
---
 libebl/eblclosebackend.c | 1 -
 libebl/eblopenbackend.c  | 1 -
 2 files changed, 2 deletions(-)
  

Comments

Mark Wielaard Oct. 27, 2022, 1:09 p.m. UTC | #1
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> It's not accessed symbols in dlfcn.h in eblclosebackend.c and
> eblopenbackend.c

Tweaked the commit message (so it fits on one line), added ChangeLog
entries and pushed.

Thanks,

Mark
  

Patch

diff --git a/libebl/eblclosebackend.c b/libebl/eblclosebackend.c
index 501e5c7b..7fa068ec 100644
--- a/libebl/eblclosebackend.c
+++ b/libebl/eblclosebackend.c
@@ -30,7 +30,6 @@ 
 # include <config.h>
 #endif
 
-#include <dlfcn.h>
 #include <stdlib.h>
 
 #include <libeblP.h>
diff --git a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c
index c6657252..02f80653 100644
--- a/libebl/eblopenbackend.c
+++ b/libebl/eblopenbackend.c
@@ -31,7 +31,6 @@ 
 #endif
 
 #include <assert.h>
-#include <dlfcn.h>
 #include <libelfP.h>
 #include <dwarf.h>
 #include <stdlib.h>