getword(), express some constness

This commit is contained in:
rlar 2013-11-13 20:37:39 +01:00
parent 6a72c09b5f
commit cf9c3fc4f8
1 changed files with 1 additions and 1 deletions

View File

@ -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;