getword(), express some constness
This commit is contained in:
parent
6a72c09b5f
commit
cf9c3fc4f8
|
|
@ -1317,7 +1317,7 @@ nupa_substitute(dico_t *dico, const char *s, char *r)
|
|||
|
||||
|
||||
static void
|
||||
getword(char *s, SPICE_DSTRINGPTR tstr_p, int after, int *pi)
|
||||
getword(const char * const s, SPICE_DSTRINGPTR tstr_p, int after, int *pi)
|
||||
/* isolate a word from s after position "after". return i= last read+1 */
|
||||
{
|
||||
int i = *pi;
|
||||
|
|
|
|||
Loading…
Reference in New Issue