From: David Brownell Date: Mon, 16 Nov 2009 23:27:40 +0000 (-0800) Subject: target: don't include "log.h" from "armv4_5.h" X-Git-Tag: v0.4.0-rc1~560 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=bf972374011359a1d160b0359e59c4350e78aefe;hp=2fb58116a58f7928af75839e65c07f7d55c81500 target: don't include "log.h" from "armv4_5.h" No point in multiple includes, and that file doesn't use its functions any more. Signed-off-by: David Brownell --- diff --git a/src/target/arm_simulator.c b/src/target/arm_simulator.c index a353c132a3..31163b4728 100644 --- a/src/target/arm_simulator.c +++ b/src/target/arm_simulator.c @@ -29,6 +29,7 @@ #include "arm_simulator.h" #include "binarybuffer.h" #include "register.h" +#include "log.h" static uint32_t arm_shift(uint8_t shift, uint32_t Rm, diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h index 1e3ee42d05..5fef0942cc 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -27,7 +27,6 @@ #define ARMV4_5_H #include "target.h" -#include "log.h" typedef enum armv4_5_mode {