EFhier.c: convert to ANSI efHierVisitSingleResist()

This commit is contained in:
Darryl L. Miles 2025-08-06 22:58:30 +01:00
parent e6f04ebb46
commit d4e4930de3
1 changed files with 7 additions and 5 deletions

View File

@ -520,12 +520,14 @@ efHierVisitDevs(hc, ca)
*/
int
efHierVisitSingleResist(hc, name1, name2, res, ca)
HierContext *hc; /* Contains hierarchical pathname to cell */
char *name1, *name2; /* Names of nodes connecting to resistor */
Connection *res; /* Contains resistance to add */
CallArg *ca;
efHierVisitSingleResist(
HierContext *hc, /* Contains hierarchical pathname to cell */
const char *name1,
const char *name2, /* Names of nodes connecting to resistor */
Connection *res, /* Contains resistance to add */
ClientData cdata) /* (CallArg *) */
{
CallArg *ca = (CallArg *) CD2PTR(cdata);
EFNode *n1, *n2;
HashEntry *he;
Def *def = hc->hc_use->use_def;