openocd/src/jtag
Andreas Fritiofson 517ba0690d Clean up const usage to avoid excessive casting
Don't use const on pointers that hold heap allocated data, because that
means functions that free them must cast away the const.

Do use const on pointer parameters or fields that needn't be modified.

Remove pointer casts that are no longer needed after fixing the constness.

Change-Id: I5d206f5019982fd1950bc6d6d07b6062dc24e886
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1668
Tested-by: jenkins
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2013-10-31 20:42:34 +00:00
..
aice Clean up const usage to avoid excessive casting 2013-10-31 20:42:34 +00:00
drivers Clean up const usage to avoid excessive casting 2013-10-31 20:42:34 +00:00
hla Clean up const usage to avoid excessive casting 2013-10-31 20:42:34 +00:00
minidriver update files to correct FSF address 2013-06-05 19:52:42 +00:00
minidummy update files to correct FSF address 2013-06-05 19:52:42 +00:00
zy1000 update files to correct FSF address 2013-06-05 19:52:42 +00:00
adapter.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
commands.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
commands.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
core.c Clean up const usage to avoid excessive casting 2013-10-31 20:42:34 +00:00
driver.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
interface.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
interface.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
interfaces.c jtag: drivers: Add JTAP VPI client driver 2013-09-08 15:37:51 +00:00
interfaces.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
jtag.h Clean up const usage to avoid excessive casting 2013-10-31 20:42:34 +00:00
Makefile.am aice: add Andes AICE support 2013-06-05 19:27:23 +00:00
minidriver.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
startup.tcl stlink: rename stlink cmd names 2012-12-23 21:45:42 +00:00
swd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
tcl.c Clean up const usage to avoid excessive casting 2013-10-31 20:42:34 +00:00
tcl.h update files to correct FSF address 2013-06-05 19:52:42 +00:00