[2/3] sim: drop core libiberty.h include

Message ID 20210616063302.20722-2-vapier@gentoo.org
State New
Headers show
Series
  • [1/3] sim: split sim/callback.h include out
Related show

Commit Message

Simon Marchi via Gdb-patches June 16, 2021, 6:33 a.m.
This doesn't need to be included for every sim file, so drop it.
Every C file that needs it seems to already include it.
---
 sim/common/sim-basics.h | 2 --
 1 file changed, 2 deletions(-)

-- 
2.31.1

Patch

diff --git a/sim/common/sim-basics.h b/sim/common/sim-basics.h
index 13547422d3c3..a3dd5d93d584 100644
--- a/sim/common/sim-basics.h
+++ b/sim/common/sim-basics.h
@@ -125,8 +125,6 @@  typedef enum {
 
 #include "sim-utils.h"
 
-#include "libiberty.h"
-
 /* Note: Only the simpler interfaces are defined here.  More heavy
    weight objects, such as core and events, are defined in the more
    serious sim-base.h header. */