K&R calma: missing HAVE_ZLIB ifdef around function using type gzFile

K&R obsolete syntax removal for C23 compatibility series
This commit is contained in:
Darryl L. Miles 2024-10-04 11:38:40 +01:00 committed by Tim Edwards
parent 603ce8b887
commit 979c810c38
1 changed files with 2 additions and 0 deletions

View File

@ -77,7 +77,9 @@ extern void calmaElementText(void);
extern bool calmaIsUseNameDefault(char *defName, char *useName); extern bool calmaIsUseNameDefault(char *defName, char *useName);
extern bool calmaParseStructure(char *filename); extern bool calmaParseStructure(char *filename);
extern int calmaProcessDef(CellDef *def, FILE *outf, bool do_library); extern int calmaProcessDef(CellDef *def, FILE *outf, bool do_library);
#ifdef HAVE_ZLIB
extern int calmaProcessDefZ(CellDef *def, gzFile outf, bool do_library); extern int calmaProcessDefZ(CellDef *def, gzFile outf, bool do_library);
#endif
extern bool calmaReadI2Record(int type, int *pvalue); extern bool calmaReadI2Record(int type, int *pvalue);
extern bool calmaReadI4Record(int type, int *pvalue); extern bool calmaReadI4Record(int type, int *pvalue);
extern void calmaReadPoint(Point *p, int iscale); extern void calmaReadPoint(Point *p, int iscale);