diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2012-03-04 20:13:43 +0100 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2012-04-14 17:31:14 +0200 |
commit | c26ab37aca59da2fde7d96ab8528ac2b002a8192 (patch) | |
tree | 49c977c9f8662a20b99769c9c0cb7b5fd5fb3645 /apps/plugins/mikmod/load_stm.c | |
parent | cf1e54b21edc9f68e65694249f0b8c61b3e515c1 (diff) | |
download | rockbox-c26ab37aca59da2fde7d96ab8528ac2b002a8192.tar.gz rockbox-c26ab37aca59da2fde7d96ab8528ac2b002a8192.zip |
mikmod plugin: make functions static when possible
Change-Id: Ic0102071318c55c19952029be6998ecf5f33eb98
Diffstat (limited to 'apps/plugins/mikmod/load_stm.c')
-rw-r--r-- | apps/plugins/mikmod/load_stm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/mikmod/load_stm.c b/apps/plugins/mikmod/load_stm.c index c1d771df11..b2537ab68f 100644 --- a/apps/plugins/mikmod/load_stm.c +++ b/apps/plugins/mikmod/load_stm.c | |||
@@ -98,7 +98,7 @@ static CHAR* STM_Version[STM_NTRACKERS] = { | |||
98 | 98 | ||
99 | /*========== Loader code */ | 99 | /*========== Loader code */ |
100 | 100 | ||
101 | int STM_Test(void) | 101 | static int STM_Test(void) |
102 | { | 102 | { |
103 | UBYTE str[44]; | 103 | UBYTE str[44]; |
104 | int t; | 104 | int t; |
@@ -118,7 +118,7 @@ int STM_Test(void) | |||
118 | return 0; | 118 | return 0; |
119 | } | 119 | } |
120 | 120 | ||
121 | int STM_Init(void) | 121 | static int STM_Init(void) |
122 | { | 122 | { |
123 | if(!(mh=(STMHEADER*)MikMod_malloc(sizeof(STMHEADER)))) return 0; | 123 | if(!(mh=(STMHEADER*)MikMod_malloc(sizeof(STMHEADER)))) return 0; |
124 | if(!(stmbuf=(STMNOTE*)MikMod_calloc(64U*4,sizeof(STMNOTE)))) return 0; | 124 | if(!(stmbuf=(STMNOTE*)MikMod_calloc(64U*4,sizeof(STMNOTE)))) return 0; |
@@ -250,7 +250,7 @@ static int STM_LoadPatterns(void) | |||
250 | return 1; | 250 | return 1; |
251 | } | 251 | } |
252 | 252 | ||
253 | int STM_Load(int curious) | 253 | static int STM_Load(int curious) |
254 | { | 254 | { |
255 | int t; | 255 | int t; |
256 | ULONG MikMod_ISA; /* We must generate our own ISA, it's not stored in stm */ | 256 | ULONG MikMod_ISA; /* We must generate our own ISA, it's not stored in stm */ |
@@ -349,7 +349,7 @@ int STM_Load(int curious) | |||
349 | return 1; | 349 | return 1; |
350 | } | 350 | } |
351 | 351 | ||
352 | CHAR *STM_LoadTitle(void) | 352 | static CHAR *STM_LoadTitle(void) |
353 | { | 353 | { |
354 | CHAR s[20]; | 354 | CHAR s[20]; |
355 | 355 | ||