K&R CalmaWriteZ.c: move typedef to before forward declaration
K&R obsolete syntax removal for C23 compatibility series
This commit is contained in:
parent
979c810c38
commit
5f55ab825a
|
|
@ -92,6 +92,14 @@ extern int calmaPaintLayerType;
|
||||||
/* External functions from CalmaWrite.c */
|
/* External functions from CalmaWrite.c */
|
||||||
extern int calmaWriteInitFunc(CellDef *def);
|
extern int calmaWriteInitFunc(CellDef *def);
|
||||||
|
|
||||||
|
/* Structure used by calmaWritePaintFuncZ() and others */
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
gzFile f; /* Compressed file stream for output */
|
||||||
|
Rect *area; /* Clipping area, in GDS coordinates */
|
||||||
|
int type; /* Layer index */
|
||||||
|
} calmaOutputStructZ;
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
extern int calmaWritePaintFuncZ(Tile *tile, calmaOutputStructZ *cos);
|
extern int calmaWritePaintFuncZ(Tile *tile, calmaOutputStructZ *cos);
|
||||||
extern int calmaMergePaintFuncZ(Tile *tile, calmaOutputStructZ *cos);
|
extern int calmaMergePaintFuncZ(Tile *tile, calmaOutputStructZ *cos);
|
||||||
|
|
@ -107,14 +115,6 @@ extern void calmaOutStringRecordZ(int type, char *str, gzFile f);
|
||||||
extern void calmaOut8Z(char *str, gzFile f);
|
extern void calmaOut8Z(char *str, gzFile f);
|
||||||
extern void calmaOutR8Z(double d, gzFile f);
|
extern void calmaOutR8Z(double d, gzFile f);
|
||||||
|
|
||||||
/* Structure used by calmaWritePaintFuncZ() and others */
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
gzFile f; /* Compressed file stream for output */
|
|
||||||
Rect *area; /* Clipping area, in GDS coordinates */
|
|
||||||
int type; /* Layer index */
|
|
||||||
} calmaOutputStructZ;
|
|
||||||
|
|
||||||
/*--------------------------------------------------------------*/
|
/*--------------------------------------------------------------*/
|
||||||
/* Structures used by the tile merging algorithm */
|
/* Structures used by the tile merging algorithm */
|
||||||
/*--------------------------------------------------------------*/
|
/*--------------------------------------------------------------*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue