]> git.sur5r.net Git - openocd/commit
command_handler_t: make cmd an indirect parameter
authorZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 07:01:44 +0000 (23:01 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 18:56:55 +0000 (10:56 -0800)
commitf973320cbb98d661bc0e4ba4fa9939ce8bce2b83
tree9bece3c274ece8dadb15b8160f14cff3e7c6237f
parentdeede35c270b078ae63713cfc12aa2bbc9eb78a7
command_handler_t: make cmd an indirect parameter

This patch removes 'cmd' from the list of direct parameters, moving
that pointer to args[-1] (by way of the new CMD_NAME macro).
src/helper/command.c
src/helper/command.h