K&R CalmaWrite.c: move typedef to before forward declaration usage
K&R obsolete syntax removal for C23 compatibility series
This commit is contained in:
parent
5f55ab825a
commit
d92e2b70b6
|
|
@ -80,6 +80,14 @@ bool CalmaMergeTiles = FALSE; /* If TRUE, merge tiles into polygons in output.
|
||||||
int CalmaCompression = 0; /* Output file compression level (0 = uncompressed) */
|
int CalmaCompression = 0; /* Output file compression level (0 = uncompressed) */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Structure used by calmaWritePaintFunc() */
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
FILE *f; /* File stream for output */
|
||||||
|
Rect *area; /* Clipping area, in GDS coordinates */
|
||||||
|
int type; /* Layer index */
|
||||||
|
} calmaOutputStruct;
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
extern int calmaWriteInitFunc(CellDef *def);
|
extern int calmaWriteInitFunc(CellDef *def);
|
||||||
extern int calmaWritePaintFunc(Tile *tile, calmaOutputStruct *cos);
|
extern int calmaWritePaintFunc(Tile *tile, calmaOutputStruct *cos);
|
||||||
|
|
@ -100,14 +108,6 @@ extern void calmaProcessBoundary(BoundaryTop *blist, calmaOutputStruct *cos);
|
||||||
extern void calmaRemoveColinear(BoundaryTop *blist);
|
extern void calmaRemoveColinear(BoundaryTop *blist);
|
||||||
extern void calmaRemoveDegenerate(BoundaryTop *blist);
|
extern void calmaRemoveDegenerate(BoundaryTop *blist);
|
||||||
|
|
||||||
/* Structure used by calmaWritePaintFunc() */
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
FILE *f; /* File stream for output */
|
|
||||||
Rect *area; /* Clipping area, in GDS coordinates */
|
|
||||||
int type; /* Layer index */
|
|
||||||
} calmaOutputStruct;
|
|
||||||
|
|
||||||
/*--------------------------------------------------------------*/
|
/*--------------------------------------------------------------*/
|
||||||
/* Structures used by the tile merging algorithm */
|
/* Structures used by the tile merging algorithm */
|
||||||
/*--------------------------------------------------------------*/
|
/*--------------------------------------------------------------*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue