extflat: spcdevOutNode() constify API

This commit is contained in:
Darryl L. Miles 2025-07-23 20:10:03 +01:00
parent 22b96d5112
commit aa0b033053
2 changed files with 5 additions and 5 deletions

View File

@ -3552,14 +3552,14 @@ spcnAPHier(
int
spcdevOutNode(
HierName *prefix,
HierName *suffix,
char *name,
const HierName *prefix,
const HierName *suffix,
const char *name,
FILE *outf)
{
HashEntry *he;
EFNodeName *nn;
char *nname;
const char *nname;
he = EFHNConcatLook(prefix, suffix, name);
if (he == NULL)

View File

@ -48,7 +48,7 @@ extern void setDevMult(int i, float f);
/* C99 compat */
extern int EFHNSprintf(char *str, HierName *hierName);
extern int printSubcktDict(void);
extern int spcdevOutNode(HierName *prefix, HierName *suffix, char *name, FILE *outf);
extern int spcdevOutNode(const HierName *prefix, const HierName *suffix, const char *name, FILE *outf);
extern int spcnAP(DevTerm *dterm, EFNode *node, int resClass, float scale, char *asterm, char *psterm, float m, FILE *outf, int w);
extern int parallelDevs(const devMerge *f1, const devMerge *f2);
extern int nodeHspiceName(char *s);