]> git.sur5r.net Git - openocd/commit
command_handler_t: make args parameter const
authorZachary T Welch <zw@superlucidity.net>
Tue, 10 Nov 2009 12:37:17 +0000 (04:37 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 18:55:27 +0000 (10:55 -0800)
commitdeede35c270b078ae63713cfc12aa2bbc9eb78a7
treed7cda65e0a71e1fa50d3a493ab18077fa0ca2d69
parentcc63d6e72b49dd01706c4d768c1f9bb91db2ae1d
command_handler_t: make args parameter const

This patch prevents command handlers from modifying the strings passed
in the 'args' array.
src/helper/command.c
src/helper/command.h