From fddb458339a1c4f29e419fc89193441104f57b36 Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Sat, 19 Jul 2025 02:08:18 +0100 Subject: [PATCH] extflat: forward declaration arguments added --- extflat/EFantenna.c | 4 ++-- extflat/EFbuild.c | 11 +++++------ extflat/EFread.c | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/extflat/EFantenna.c b/extflat/EFantenna.c index 9187dab9..129508d5 100644 --- a/extflat/EFantenna.c +++ b/extflat/EFantenna.c @@ -43,8 +43,8 @@ #include "extract/extract.h" /* Forward declarations */ -int antennacheckArgs(); -int antennacheckVisit(); +int antennacheckArgs(int *pargc, char ***pargv); +int antennacheckVisit(Dev *dev, HierContext *hc, float scale, Transform *trans, CellUse *editUse); typedef struct { TileTypeBitMask visitMask; diff --git a/extflat/EFbuild.c b/extflat/EFbuild.c index 9f0a5db6..bd2508a7 100644 --- a/extflat/EFbuild.c +++ b/extflat/EFbuild.c @@ -62,13 +62,12 @@ char *EFLayerNames[MAXTYPES] = { "space" }; int EFLayerNumNames; /* Forward declarations */ -Connection *efAllocConn(); -EFNode *efBuildDevNode(); -void efNodeAddName(); -EFNode *efNodeMerge(); +EFNode *efBuildDevNode(Def *def, char *name, bool isSubsNode); +void efNodeAddName(EFNode *node, HashEntry *he, HierName *hn, bool isNew); +EFNode *efNodeMerge(EFNode **node1ptr, EFNode **node2ptr); -bool efConnBuildName(); -bool efConnInitSubs(); +bool efConnBuildName(ConnName *cnp, char *name); +bool efConnInitSubs(Connection *conn, char *nodeName1, char *nodeName2); extern float locScale; diff --git a/extflat/EFread.c b/extflat/EFread.c index d2fe4e70..6865f6ea 100644 --- a/extflat/EFread.c +++ b/extflat/EFread.c @@ -106,7 +106,7 @@ float locScale; /* Multiply values in the file by this on read-in */ bool EFSaveLocs; /* If TRUE, save location of merged top-level nodes */ /* Data local to this file */ -static bool efReadDef(); +static bool efReadDef(Def *def, bool dosubckt, bool resist, bool noscale, bool toplevel, bool isspice); /* atoCap - convert a string to a EFCapValue */ #define atoCap(s) ((EFCapValue)atof(s))