diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-14 03:42:08 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-14 03:44:58 -0400 |
commit | 9312936603f4ed0de67aee3d1c4d714df16f995e (patch) | |
tree | d6e2780b1856acd58d29503e05d698bf63031b1e /sim/common/sim-assert.h | |
parent | e94dfb0747eb8094295fb7e0a7c20162355e6bcd (diff) | |
download | gdb-9312936603f4ed0de67aee3d1c4d714df16f995e.zip gdb-9312936603f4ed0de67aee3d1c4d714df16f995e.tar.gz gdb-9312936603f4ed0de67aee3d1c4d714df16f995e.tar.bz2 |
sim: move sim-io.h to sim-assert.h
Since sim-endian.c doesn't actually use sim_io funcs, it's weird to
include the sim-io.h header here. It's doing so only for the assert
header. So lets relocate the include to the right place.
Diffstat (limited to 'sim/common/sim-assert.h')
-rw-r--r-- | sim/common/sim-assert.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/sim-assert.h b/sim/common/sim-assert.h index 3de8114..eaaf791 100644 --- a/sim/common/sim-assert.h +++ b/sim/common/sim-assert.h @@ -42,6 +42,7 @@ while (0) #if !defined (SIM_ASSERT) #if defined (WITH_ASSERT) +#include "sim-io.h" #define SIM_ASSERT(EXPRESSION) \ do \ { \ @@ -65,6 +66,7 @@ while (0) #if !defined (ASSERT) #if defined (WITH_ASSERT) +#include "sim-io.h" #define ASSERT(EXPRESSION) \ do \ { \ |