forked from auracaster/openocd
jim-nvp: Make Jim_GetOpt_String const-correct
Change-Id: Iae9824f6ff47a1944e674e59bfaa970904645082 Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/3178 Tested-by: jenkins
This commit is contained in:
@@ -245,7 +245,7 @@ int Jim_GetOpt_Obj(Jim_GetOptInfo *goi, Jim_Obj **puthere);
|
||||
* \param puthere - where param is put
|
||||
* \param len - return its length
|
||||
*/
|
||||
int Jim_GetOpt_String(Jim_GetOptInfo *goi, char **puthere, int *len);
|
||||
int Jim_GetOpt_String(Jim_GetOptInfo *goi, const char **puthere, int *len);
|
||||
|
||||
/** Remove argv[0] as double.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user