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
This commit is contained in:
Antonio Borneo
2020-05-12 02:52:30 +02:00
parent 80e8b019b0
commit 3b5a24c13b
3 changed files with 5 additions and 4 deletions

View File

@@ -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) {