mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 17:15:13 +02:00
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.
This commit is contained in:
@@ -128,6 +128,15 @@ extern void NMWriteAll();
|
||||
extern void NMUndo();
|
||||
extern void NMUndoInit();
|
||||
|
||||
/* C99 compat */
|
||||
extern void NMMeasureNet();
|
||||
extern int NMcommand();
|
||||
extern int NMredisplay();
|
||||
extern int NMCull();
|
||||
extern bool CmdParseLayers();
|
||||
extern int NMredisplay();
|
||||
extern int NMEnumTerms();
|
||||
|
||||
/* Various global variables (within this module): */
|
||||
|
||||
extern char * NMCurNetName;
|
||||
|
||||
Reference in New Issue
Block a user