Files
magic/dbwind/dbwtech.h
T
Alessandro De Laurenzis b306a39560 Compatibility with C99 standard
This commit makes the code (mostly) C99-compatible, enabling to compile
it without the -Wno-error=implicit-function-declaration flag. This
way, Magic becomes usable on arm64 architectures, specifically on Apple
computers with M1/M2 SoC.
2022-10-29 06:07:46 +02:00

27 lines
575 B
C

/*
* dbwtech.h --
*
* Style information for display.
* MAXTILESTYLES is the maximum number of styles usable for display
* of tiles.
*
* rcsid $Header: /usr/cvsroot/magic-8.0/dbwind/dbwtech.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _DBWTECH_H
#define _DBWTECH_H
extern TileTypeBitMask *DBWStyleToTypesTbl;
#define DBWStyleToTypes(s) (DBWStyleToTypesTbl + s)
/* forward declarations */
extern int DBWTechParseStyle();
/* C99 compat */
extern void DBWElementStyle();
extern void DBWElementText();
extern void DBWSetCrosshair();
#endif /* _DBWTECH_H */