findsubckt(), constness
This commit is contained in:
parent
849d12b18a
commit
81b60b7367
|
|
@ -64,7 +64,7 @@ void initdico(dico_t *);
|
||||||
int donedico(dico_t *);
|
int donedico(dico_t *);
|
||||||
void dico_free_entry(entry_t *);
|
void dico_free_entry(entry_t *);
|
||||||
bool defsubckt(dico_t *, struct card *, nupa_type categ);
|
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_substitute(dico_t *, const char *s, char *r);
|
||||||
bool nupa_assignment(dico_t *, const 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);
|
bool nupa_subcktcall(dico_t *, char *s, char *x, char *inst_name);
|
||||||
|
|
|
||||||
|
|
@ -543,7 +543,7 @@ defsubckt(dico_t *dico, struct card *card, nupa_type categ)
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
findsubckt(dico_t *dico, char *s)
|
findsubckt(dico_t *dico, const char * const s)
|
||||||
/* input: s is a subcircuit invocation line.
|
/* input: s is a subcircuit invocation line.
|
||||||
returns 0 if not found, else the stored definition line number value */
|
returns 0 if not found, else the stored definition line number value */
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue