diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2020-05-12 02:52:30 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-05-24 21:36:43 +0100 |
commit | 3b5a24c13b320fc0fd09e0dfacb5854b378eec34 (patch) | |
tree | 01ebee710bce7ded0faff7cb24396e2d70bd8dcf /src/rtos | |
parent | 80e8b019b0757ae895783dc7b8eaf424a6f6428c (diff) | |
download | riscv-openocd-3b5a24c13b320fc0fd09e0dfacb5854b378eec34.zip riscv-openocd-3b5a24c13b320fc0fd09e0dfacb5854b378eec34.tar.gz riscv-openocd-3b5a24c13b320fc0fd09e0dfacb5854b378eec34.tar.bz2 |
openocd: properly use jim data types
The jim library exports all the data types through typedef, so
there is no need to use the internal struct types.
Fix the few remaining inconsistencies in the code.
Change-Id: Id4ae0083563ea7a371833374e7b39f17158f66a4
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5662
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
Diffstat (limited to 'src/rtos')
-rw-r--r-- | src/rtos/rtos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c index 2212348..ff0fb92 100644 --- a/src/rtos/rtos.c +++ b/src/rtos/rtos.c @@ -121,7 +121,7 @@ int rtos_create(Jim_GetOptInfo *goi, struct target *target) { int x; const char *cp; - struct Jim_Obj *res; + Jim_Obj *res; int e; if (!goi->isconfigure && goi->argc != 0) { |