forked from len0rd/rockbox
mikmod plugin: make functions static when possible
Change-Id: Ic0102071318c55c19952029be6998ecf5f33eb98
This commit is contained in:
parent
cf1e54b21e
commit
c26ab37aca
23 changed files with 107 additions and 107 deletions
|
@ -105,7 +105,7 @@ static unsigned char DSMSIG[4+4]={'R','I','F','F','D','S','M','F'};
|
|||
|
||||
/*========== Loader code */
|
||||
|
||||
int DSM_Test(void)
|
||||
static int DSM_Test(void)
|
||||
{
|
||||
UBYTE id[12];
|
||||
|
||||
|
@ -115,14 +115,14 @@ int DSM_Test(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int DSM_Init(void)
|
||||
static int DSM_Init(void)
|
||||
{
|
||||
if(!(dsmbuf=(DSMNOTE *)MikMod_malloc(DSM_MAXCHAN*64*sizeof(DSMNOTE)))) return 0;
|
||||
if(!(mh=(DSMSONG *)MikMod_calloc(1,sizeof(DSMSONG)))) return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
void DSM_Cleanup(void)
|
||||
static void DSM_Cleanup(void)
|
||||
{
|
||||
MikMod_free(dsmbuf);
|
||||
MikMod_free(mh);
|
||||
|
@ -231,7 +231,7 @@ static UBYTE *DSM_ConvertTrack(DSMNOTE *tr)
|
|||
return UniDup();
|
||||
}
|
||||
|
||||
int DSM_Load(int curious)
|
||||
static int DSM_Load(int curious)
|
||||
{
|
||||
int t;
|
||||
DSMINST s;
|
||||
|
@ -338,7 +338,7 @@ int DSM_Load(int curious)
|
|||
return 1;
|
||||
}
|
||||
|
||||
CHAR *DSM_LoadTitle(void)
|
||||
static CHAR *DSM_LoadTitle(void)
|
||||
{
|
||||
CHAR s[28];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue