From d4e4930de312cb5274a58ea586db42303630c0b8 Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Wed, 6 Aug 2025 22:58:30 +0100 Subject: [PATCH] EFhier.c: convert to ANSI efHierVisitSingleResist() --- extflat/EFhier.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/extflat/EFhier.c b/extflat/EFhier.c index b5a2c50d..908c3a01 100644 --- a/extflat/EFhier.c +++ b/extflat/EFhier.c @@ -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;