findsubckt(), constness

This commit is contained in:
rlar
2018-02-17 19:15:54 +01:00
parent 849d12b18a
commit 81b60b7367
2 changed files with 2 additions and 2 deletions
+1 -1
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);
+1 -1
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 */
{