aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm_cti.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2021-04-25 00:06:00 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2021-06-04 17:40:39 +0100
commitb8e18d292eb6a3459a018f504f2f62d6a25c26b2 (patch)
tree863e8f21db27f6579159ea3be0bd734647911672 /src/target/arm_cti.c
parent3bd26ebb59e2932b361b40176b818174f561f901 (diff)
downloadriscv-openocd-b8e18d292eb6a3459a018f504f2f62d6a25c26b2.zip
riscv-openocd-b8e18d292eb6a3459a018f504f2f62d6a25c26b2.tar.gz
riscv-openocd-b8e18d292eb6a3459a018f504f2f62d6a25c26b2.tar.bz2
helper/jim-nvp: comply with coding style [1/2]
The helper jim-nvp does not comply with OpenOCD coding style due to typedef of struct and CamelCase symbol names. While it's trivial fixing the helper and all its current use in the code, changing these APIs will potentially break a number of patches pending in gerrit. Gerrit will not trigger any alert, but the code will generate compile error after the merge. Add the compile flag "-Wno-error=deprecated-declarations" to keep as warning (not as error) the use of "deprecated" functions and types. Rename all the CamelCase symbols is lowercase and provide struct prototypes in place of the typedef. Add a DEPRECATED section to 'jim-nvp.h' where the old CamelCase symbols and the old typedef are re-declared with compile attribute 'deprecated'. With this change OpenOCD compiles, but generates warnings. The remaining changes allover OpenOCD code will be fixed in a separate patch for easier review. The patches merged later that still use the old deprecated API will compile with warnings. This will permit to identify and fix these cases. Change-Id: I786385d0f662dbb1be5be313ae42623156d68ce5 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/6183 Tested-by: jenkins Reviewed-by: Marc Schink <dev@zapb.de>
Diffstat (limited to 'src/target/arm_cti.c')
0 files changed, 0 insertions, 0 deletions