mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +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:
@@ -235,4 +235,19 @@ extern unsigned char PlotPNMBG;
|
||||
extern bool PlotPNMRTL;
|
||||
#endif
|
||||
|
||||
/* C99 compat */
|
||||
extern void PlotRastFatLine();
|
||||
extern void PlotHPRTLHeader();
|
||||
extern void PlotPS();
|
||||
extern void PlotHPGL2Header();
|
||||
extern void PlotPrintParams();
|
||||
extern int PlotDumpHPRTL();
|
||||
extern void PlotHPGL2Trailer();
|
||||
extern void PlotSetParam();
|
||||
extern void PlotHPRTLTrailer();
|
||||
extern void PlotVersatec();
|
||||
extern void PlotPNM();
|
||||
extern void PlotPNM();
|
||||
extern int PlotRTLCompress();
|
||||
|
||||
#endif /* _PLOTINT_H */
|
||||
|
||||
Reference in New Issue
Block a user