Fix a few issues with missing or incorrect prototypes
There are a few places we either don't have a variable or function prototype and need one, or we have one and they don't match.
This commit is contained in:
parent
16c0a65adc
commit
3d41b3e98b
|
|
@ -39,6 +39,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
|||
#include "utils/stack.h"
|
||||
#include "utils/malloc.h"
|
||||
#include "utils/maxrect.h"
|
||||
#include "drc/drc.h"
|
||||
|
||||
/* TRUE to run (very slow) algorithm for optimizing non-manhattan tiles */
|
||||
/* (cuts size of output; see also the GDS "merge" option) */
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
|||
#include "utils/malloc.h"
|
||||
#include "cif/cif.h"
|
||||
#include "cif/CIFint.h"
|
||||
#include "drc/drc.h"
|
||||
|
||||
CIFStyle *drcCifStyle = NULL;
|
||||
bool DRCForceReload = FALSE;
|
||||
|
|
|
|||
|
|
@ -281,6 +281,8 @@ extern void DRCPrintStyle();
|
|||
extern void DRCSetStyle();
|
||||
extern void DRCLoadStyle();
|
||||
|
||||
extern PlaneMask CoincidentPlanes(TileTypeBitMask *typeMask, PlaneMask pmask);
|
||||
|
||||
/* The following macro can be used by the outside world to see if
|
||||
* the background checker needs to be called.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -65,11 +65,11 @@ extern Node *extHierNewNode();
|
|||
extern ExtTree *extHierNewOne();
|
||||
|
||||
/* Global data incremented by extSubtree() */
|
||||
int extSubtreeTotalArea; /* Total area of cell */
|
||||
int extSubtreeInteractionArea; /* Total area of all interactions, counting the
|
||||
long extSubtreeTotalArea; /* Total area of cell */
|
||||
long extSubtreeInteractionArea; /* Total area of all interactions, counting the
|
||||
* entire area of the interaction each time.
|
||||
*/
|
||||
int extSubtreeClippedArea; /* Total area of all interactions, counting only
|
||||
long extSubtreeClippedArea; /* Total area of all interactions, counting only
|
||||
* the area that lies inside each chunk, so no
|
||||
* area is counted more than once.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header$";
|
|||
#include "utils/malloc.h"
|
||||
#include "lef/lefInt.h"
|
||||
#include "drc/drc.h"
|
||||
#include "cif/cif.h"
|
||||
|
||||
/* ---------------------------------------------------------------------*/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue