diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-06-28 18:09:48 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-06-28 18:09:48 +0200 |
commit | e4c054cada07bf780fbb750bfd630ec6c03d6d99 (patch) | |
tree | 71569e3957c4b7899639c6c536e718b182947c3a /src/target/dsp5680xx.h | |
parent | ff640f197a9a343b2f3ed10e9174e35282334e8c (diff) |
dsp5680xx: fix compilation problems
use a more specific global variable name than "context", which
can easily conflict with other things.
Diffstat (limited to 'src/target/dsp5680xx.h')
-rw-r--r-- | src/target/dsp5680xx.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; |