summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-05 09:57:19 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-05 09:57:19 +0000
commit71460ba9a59503bdf7780962b93143021d423958 (patch)
treeb58ce524a4924b2abdc7eb75fa894fbd344375be /src
parent2514493bd8c6f65aae006cd48bf34ce4c21738a3 (diff)
downloadopenocd_libswd-71460ba9a59503bdf7780962b93143021d423958.tar.gz
openocd_libswd-71460ba9a59503bdf7780962b93143021d423958.tar.bz2
openocd_libswd-71460ba9a59503bdf7780962b93143021d423958.tar.xz
openocd_libswd-71460ba9a59503bdf7780962b93143021d423958.zip
- added search for libdl
- Thanks Charles Hardin git-svn-id: svn://svn.berlios.de/openocd/trunk@754 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/helper/command.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index 8a736686..ed0a82e6 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -46,6 +46,9 @@ int handle_sleep_command(struct command_context_s *cmd_ctx, char *cmd, char **ar
int handle_time_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
int handle_fast_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
+/* forward declaration of jim_command */
+extern int jim_command(command_context_t *context, char *line);
+
int build_unique_lengths(command_context_t *context, command_t *commands)
{
command_t *c, *p;
@@ -464,7 +467,6 @@ int command_run_line_internal(command_context_t *context, char *line)
int command_run_line(command_context_t *context, char *line)
{
- int retval;
if ((!context) || (!line))
return ERROR_INVALID_ARGUMENTS;