diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-16 03:29:30 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-16 09:58:11 -0800 |
commit | dc1685ca25567fe75c8d50c825fb0303fbb66fac (patch) | |
tree | e51e63fe1e40d3c60673f57784f88c43277f5eba /src/xsvf | |
parent | 10cce4a5fe85bfd680bc338c900b0033d7174b6a (diff) | |
download | openocd+libswd-dc1685ca25567fe75c8d50c825fb0303fbb66fac.tar.gz openocd+libswd-dc1685ca25567fe75c8d50c825fb0303fbb66fac.tar.bz2 openocd+libswd-dc1685ca25567fe75c8d50c825fb0303fbb66fac.tar.xz openocd+libswd-dc1685ca25567fe75c8d50c825fb0303fbb66fac.zip |
move ARRAY_SIZE macro to types.h
The ARRAY_SIZE macro was defined in several target files, so move it
to types.h.
This patch also removes two other identical macros: DIM (from jtag.h)
and asizeof (from arm11.h).
Diffstat (limited to 'src/xsvf')
-rw-r--r-- | src/xsvf/xsvf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c index 2e78447a..01a94116 100644 --- a/src/xsvf/xsvf.c +++ b/src/xsvf/xsvf.c @@ -470,7 +470,7 @@ COMMAND_HANDLER(handle_xsvf_command) TAP_IDLE, }; - jtag_add_pathmove(DIM(exception_path), exception_path); + jtag_add_pathmove(ARRAY_SIZE(exception_path), exception_path); if (verbose) LOG_USER("%s mismatch, xsdrsize=%d retry=%d", op_name, xsdrsize, attempt); |