ext2spice: parallelDevs constify API (const devMerge*)

This commit is contained in:
Darryl L. Miles
2025-08-06 10:42:55 -04:00
committed by R. Timothy Edwards
parent 7ab4911514
commit b577619395
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -4160,8 +4160,8 @@ mkDevMerge(
int
parallelDevs(
devMerge *f1,
devMerge *f2)
const devMerge *f1,
const devMerge *f2)
{
/* If the devices are not in the same class, then */
/* they cannot be parallel. */
+1 -1
View File
@@ -48,7 +48,7 @@ extern int EFHNSprintf(char *str, HierName *hierName);
extern int printSubcktDict(void);
extern int spcdevOutNode(HierName *prefix, HierName *suffix, 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(devMerge *f1, devMerge *f2);
extern int parallelDevs(const devMerge *f1, const devMerge *f2);
extern int nodeHspiceName(char *s);
extern int devDistJunctHierVisit(HierContext *hc, Dev *dev, float scale);
extern int spcnAPHier(DevTerm *dterm, HierName *hierName, int resClass, float scale, char *asterm, char *psterm, float m, FILE *outf);