nupa_assignment(), express some constness

This commit is contained in:
rlar 2016-05-01 17:41:55 +02:00
parent 35524f7e48
commit f595db7619
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ void dico_free_entry(entry_t *);
bool defsubckt(dico_t *, struct card *, nupa_type categ);
int findsubckt(dico_t *, char *s);
bool nupa_substitute(dico_t *, const char *s, char *r);
bool nupa_assignment(dico_t *, char *s, char mode);
bool nupa_assignment(dico_t *, const char *s, char mode);
bool nupa_subcktcall(dico_t *, char *s, char *x, char *inst_name);
void nupa_subcktexit(dico_t *);
entry_t *entrynb(dico_t *dico, char *s);

View File

@ -1411,7 +1411,7 @@ getexpress(nupa_type *type, SPICE_DSTRINGPTR tstr_p, const char *s)
bool
nupa_assignment(dico_t *dico, char *s, char mode)
nupa_assignment(dico_t *dico, const char * const s, char mode)
/* is called for all 'Param' lines of the input file.
is also called for the params: section of a subckt .
mode='N' define new local variable, else global...