sim: endian: move bfd.h from header to source

The bfd APIs are used only by sim-n-endian.h which is only included by
sim-endian.c, so move the bfd.h include there and out of sim-endian.h
which is included by many other modules.
This commit is contained in:
Mike Frysinger 2022-12-22 22:06:52 -05:00
parent 6cf3ddd23e
commit b15fa15bc4
2 changed files with 2 additions and 2 deletions

View File

@ -26,6 +26,8 @@
/* This must come before any other includes. */
#include "defs.h"
#include "bfd.h"
#include "sim-basics.h"
#include "sim-assert.h"

View File

@ -23,8 +23,6 @@
#ifndef SIM_ENDIAN_H
#define SIM_ENDIAN_H
#include "bfd.h"
/* C byte conversion functions */
INLINE_SIM_ENDIAN(unsigned_1) endian_h2t_1(unsigned_1 x);