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,
|
char *inName,
|
||||||
int flags)
|
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;
|
Use u;
|
||||||
Def *def;
|
Def *def;
|
||||||
HierContext hc;
|
HierContext hc;
|
||||||
|
|
@ -582,7 +583,7 @@ spcdevHierVisit(
|
||||||
EFNode *subnode, *snode, *dnode, *subnodeFlat = NULL;
|
EFNode *subnode, *snode, *dnode, *subnodeFlat = NULL;
|
||||||
int l, w, i, parmval;
|
int l, w, i, parmval;
|
||||||
Rect r;
|
Rect r;
|
||||||
bool subAP = FALSE, hierS, hierD, extHierSDAttr();
|
bool subAP = FALSE, hierS, hierD;
|
||||||
float sdM;
|
float sdM;
|
||||||
char devchar;
|
char devchar;
|
||||||
bool has_model = TRUE;
|
bool has_model = TRUE;
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ const devMerge *devMergeList = NULL ;
|
||||||
|
|
||||||
#define atoCap(s) ((EFCapValue)atof(s))
|
#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;
|
int parmval;
|
||||||
EFNode *dnode, *subnodeFlat = NULL;
|
EFNode *dnode, *subnodeFlat = NULL;
|
||||||
|
|
||||||
bool extHierSDAttr();
|
|
||||||
|
|
||||||
plist = efGetDeviceParams(EFDevTypes[dev->dev_type]);
|
plist = efGetDeviceParams(EFDevTypes[dev->dev_type]);
|
||||||
while (plist != NULL)
|
while (plist != NULL)
|
||||||
{
|
{
|
||||||
|
|
@ -2484,7 +2482,7 @@ spcdevVisit(
|
||||||
DevTerm *gate, *source, *drain;
|
DevTerm *gate, *source, *drain;
|
||||||
EFNode *subnode, *snode, *dnode, *subnodeFlat = NULL;
|
EFNode *subnode, *snode, *dnode, *subnodeFlat = NULL;
|
||||||
int l, w, i, parmval;
|
int l, w, i, parmval;
|
||||||
bool subAP= FALSE, hierS, hierD, extHierSDAttr();
|
bool subAP= FALSE, hierS, hierD;
|
||||||
float sdM;
|
float sdM;
|
||||||
char name[12], devchar;
|
char name[12], devchar;
|
||||||
bool has_model = TRUE;
|
bool has_model = TRUE;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue