mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 17:15:13 +02:00
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.
27 lines
575 B
C
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 */
|