20 lines
475 B
Text
20 lines
475 B
Text
Fix build with -fno-common
|
|
|
|
Index: play-mtm.c
|
|
--- play-mtm.c.orig
|
|
+++ play-mtm.c
|
|
@@ -1,4 +1,5 @@
|
|
#include <stdio.h> /*stderr*/
|
|
+#include <stdlib.h> /*exit*/
|
|
#include "defs.h" /*->inst.h (u8,u16x,...)*/
|
|
#include "inst.h" /*->playnote.h (SampleInfo)*/
|
|
#include "playnote.h" /*Note*/
|
|
@@ -23,7 +24,7 @@ typedef u8 MtmSample[37];
|
|
typedef u8 MtmNote[3];
|
|
typedef i15 MtmPat[32];
|
|
|
|
-struct {
|
|
+static struct {
|
|
const u8 *p0;
|
|
const u8 *songName;
|
|
i15x ordNum;
|