diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-09 02:23:53 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-09 02:23:53 +0000 |
commit | 2410d4b2b97d6ce9099fc0c5ffb3b493c43a3d3d (patch) | |
tree | 26753da8f19d179b153b3111d0518096040f9705 /src/jtag/jtag.h | |
parent | 0c3e5b50694fcdebc3edccc373fc08adb94d0bb8 (diff) | |
download | riscv-openocd-2410d4b2b97d6ce9099fc0c5ffb3b493c43a3d3d.zip riscv-openocd-2410d4b2b97d6ce9099fc0c5ffb3b493c43a3d3d.tar.gz riscv-openocd-2410d4b2b97d6ce9099fc0c5ffb3b493c43a3d3d.tar.bz2 |
Use unsigned type for jtag_tap_count and jtag_tap_by_abs_position.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2144 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r-- | src/jtag/jtag.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index 0913c25..bab2731 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -180,9 +180,9 @@ extern const char *jtag_tap_name(const jtag_tap_t *tap); extern jtag_tap_t* jtag_tap_by_position(int n); extern jtag_tap_t* jtag_tap_by_string(const char* dotted_name); extern jtag_tap_t* jtag_tap_by_jim_obj(Jim_Interp* interp, Jim_Obj* obj); -extern jtag_tap_t* jtag_tap_by_abs_position(int abs_position); +extern jtag_tap_t* jtag_tap_by_abs_position(unsigned abs_position); extern unsigned jtag_tap_count_enabled(void); -extern int jtag_tap_count(void); +extern unsigned jtag_tap_count(void); static __inline__ jtag_tap_t* jtag_tap_next_enabled(jtag_tap_t* p) { |