transport: Constify the transports vector

Change-Id: I0c874b5d4c97cf781d83bd381d701f770e069f72
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/2135
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
Andreas Fritiofson
2014-05-10 11:31:35 +02:00
parent ae3bcd05f8
commit cc99e57b0e
4 changed files with 7 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ int transport_register_commands(struct command_context *ctx);
COMMAND_HELPER(transport_list_parse, char ***vector);
int allow_transports(struct command_context *ctx, const char **vector);
int allow_transports(struct command_context *ctx, const char * const *vector);
bool transports_are_declared(void);