findsubckt(), constness

This commit is contained in:
rlar 2016-05-08 19:08:15 +02:00
parent 849d12b18a
commit 81b60b7367
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -543,7 +543,7 @@ defsubckt(dico_t *dico, struct card *card, nupa_type categ)
int
findsubckt(dico_t *dico, char *s)
findsubckt(dico_t *dico, const char * const s)
/* input: s is a subcircuit invocation line.
returns 0 if not found, else the stored definition line number value */
{