summaryrefslogtreecommitdiff
path: root/src/helper/command.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-09 06:07:21 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-11 05:40:48 -0800
commite09d8938f5c27e49e81ed51379e1caa79b5f51c6 (patch)
tree1c9296e4af8169f729be107336b3f252b7955b35 /src/helper/command.h
parentc9429693770751fd625ee23386ffde6a2da5da87 (diff)
downloadopenocd+libswd-e09d8938f5c27e49e81ed51379e1caa79b5f51c6.tar.gz
openocd+libswd-e09d8938f5c27e49e81ed51379e1caa79b5f51c6.tar.bz2
openocd+libswd-e09d8938f5c27e49e81ed51379e1caa79b5f51c6.tar.xz
openocd+libswd-e09d8938f5c27e49e81ed51379e1caa79b5f51c6.zip
script_debug(): improve types
Use unsigned type for number of arguments.
Diffstat (limited to 'src/helper/command.h')
-rw-r--r--src/helper/command.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helper/command.h b/src/helper/command.h
index 70b00c32..0b86b881 100644
--- a/src/helper/command.h
+++ b/src/helper/command.h
@@ -170,6 +170,7 @@ DECLARE_PARSE_WRAPPER(_s8, int8_t);
} \
} while (0)
-void script_debug(Jim_Interp *interp, const char *cmd, int argc, Jim_Obj *const *argv);
+void script_debug(Jim_Interp *interp, const char *cmd,
+ unsigned argc, Jim_Obj *const *argv);
#endif /* COMMAND_H */