mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 17:15:13 +02:00
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:
committed by
Tim Edwards
parent
5f55ab825a
commit
d92e2b70b6
+8
-8
@@ -80,6 +80,14 @@ bool CalmaMergeTiles = FALSE; /* If TRUE, merge tiles into polygons in output.
|
||||
int CalmaCompression = 0; /* Output file compression level (0 = uncompressed) */
|
||||
#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 */
|
||||
extern int calmaWriteInitFunc(CellDef *def);
|
||||
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 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 */
|
||||
/*--------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user