ext2spice: forward declaration arguments or removal
Remove unnecessary forward declaration: extHierSDAttr() as ext2spice.h has prototype
This commit is contained in:
parent
659ec36d2d
commit
189c9f2452
|
|
@ -75,7 +75,8 @@ ESGenerateHierarchy(
|
|||
char *inName,
|
||||
int flags)
|
||||
{
|
||||
int esHierVisit(), esMakePorts(); /* Forward declaration */
|
||||
int esHierVisit(HierContext *hc, ClientData cdata); /* (DefFlagsData *) */
|
||||
int esMakePorts(HierContext *hc, ClientData cdata); /* Forward declaration (UNUSED) */
|
||||
Use u;
|
||||
Def *def;
|
||||
HierContext hc;
|
||||
|
|
@ -582,7 +583,7 @@ spcdevHierVisit(
|
|||
EFNode *subnode, *snode, *dnode, *subnodeFlat = NULL;
|
||||
int l, w, i, parmval;
|
||||
Rect r;
|
||||
bool subAP = FALSE, hierS, hierD, extHierSDAttr();
|
||||
bool subAP = FALSE, hierS, hierD;
|
||||
float sdM;
|
||||
char devchar;
|
||||
bool has_model = TRUE;
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ const devMerge *devMergeList = NULL ;
|
|||
|
||||
#define atoCap(s) ((EFCapValue)atof(s))
|
||||
|
||||
extern void ESGenerateHierarchy(); /* forward reference */
|
||||
extern void ESGenerateHierarchy(char *inName, int flags); /* forward reference ext2hier.c */
|
||||
|
||||
/*
|
||||
* ----------------------------------------------------------------------------
|
||||
|
|
@ -1999,8 +1999,6 @@ spcWriteParams(
|
|||
int parmval;
|
||||
EFNode *dnode, *subnodeFlat = NULL;
|
||||
|
||||
bool extHierSDAttr();
|
||||
|
||||
plist = efGetDeviceParams(EFDevTypes[dev->dev_type]);
|
||||
while (plist != NULL)
|
||||
{
|
||||
|
|
@ -2484,7 +2482,7 @@ spcdevVisit(
|
|||
DevTerm *gate, *source, *drain;
|
||||
EFNode *subnode, *snode, *dnode, *subnodeFlat = NULL;
|
||||
int l, w, i, parmval;
|
||||
bool subAP= FALSE, hierS, hierD, extHierSDAttr();
|
||||
bool subAP= FALSE, hierS, hierD;
|
||||
float sdM;
|
||||
char name[12], devchar;
|
||||
bool has_model = TRUE;
|
||||
|
|
|
|||
Loading…
Reference in New Issue