projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bef497a
)
target: Fix shadow issues on Mac
author
Edgar Grimberg
<edgar.grimberg@zylin.com>
Mon, 21 Jun 2010 21:04:16 +0000
(23:04 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 22 Jun 2010 06:24:23 +0000
(08:24 +0200)
wait is declared in /usr/include/sys/wait.h
Signed-off-by: Edgar Grimberg <edgar.grimberg@zylin.com>
src/target/target.c
patch
|
blob
|
history
diff --git
a/src/target/target.c
b/src/target/target.c
index 9599feca4693bf1191488344660858bff32f5c58..7513346a9a0069368a237db86bd5f5ac8619f2e4 100644
(file)
--- a/
src/target/target.c
+++ b/
src/target/target.c
@@
-2135,11
+2135,11
@@
COMMAND_HANDLER(handle_halt_command)
if (CMD_ARGC == 1)
{
- unsigned wait;
- retval = parse_uint(CMD_ARGV[0], &wait);
+ unsigned wait
_local
;
+ retval = parse_uint(CMD_ARGV[0], &wait
_local
);
if (ERROR_OK != retval)
return ERROR_COMMAND_SYNTAX_ERROR;
- if (!wait)
+ if (!wait
_local
)
return ERROR_OK;
}