From e4c054cada07bf780fbb750bfd630ec6c03d6d99 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Tue, 28 Jun 2011 18:09:48 +0200 Subject: dsp5680xx: fix compilation problems use a more specific global variable name than "context", which can easily conflict with other things. --- src/target/dsp5680xx.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/target/dsp5680xx.h') diff --git a/src/target/dsp5680xx.h b/src/target/dsp5680xx.h index 3fbe90ec..599fd68e 100644 --- a/src/target/dsp5680xx.h +++ b/src/target/dsp5680xx.h @@ -217,7 +217,9 @@ struct dsp5680xx_common{ //TODO uint32_t stored_pc; int flush; -}context; +}; + +extern struct dsp5680xx_common dsp5680xx_context; static inline struct dsp5680xx_common *target_to_dsp5680xx(struct target *target){ return target->arch_info; -- cgit v1.2.3-18-g5258