extflat: nodeSpiceHierName() constify API

This commit is contained in:
Darryl L. Miles 2025-07-21 22:49:52 +01:00
parent 6df8257505
commit 301a5329db
2 changed files with 3 additions and 3 deletions

View File

@ -1499,10 +1499,10 @@ spcnodeHierVisit(
*/
static char esTempName[MAX_STR_SIZE];
char *
const char *
nodeSpiceHierName(
HierContext *hc,
HierName *hname)
const HierName *hname)
{
EFNodeName *nn;
HashEntry *he, *he2;

View File

@ -36,7 +36,7 @@ extern int nodeVisitDebug(EFNode *node, int res, double cap, ClientData cdata);
extern void topVisit(Def *def, bool doStub);
extern void swapDrainSource(Dev *dev);
extern char *nodeSpiceHierName(HierContext *hc, HierName *hname);
extern const char *nodeSpiceHierName(HierContext *hc, const HierName *hname);
extern devMerge *mkDevMerge(float l, float w, EFNode *g, EFNode *s, EFNode *d, EFNode *b, HierName *hn, Dev *dev);
extern bool extHierSDAttr(DevTerm *term);