1
0
Fork 0
forked from len0rd/rockbox

scramble: Make function static

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23330 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomer Shalev 2009-10-24 16:18:18 +00:00
parent e4921d6ab5
commit dacbb5d22a

View file

@ -31,9 +31,9 @@
#include "creative.h" #include "creative.h"
#include "iaudio_bl_flash.h" #include "iaudio_bl_flash.h"
int iaudio_encode(char *iname, char *oname, char *idstring); static int iaudio_encode(char *iname, char *oname, char *idstring);
int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc); static int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc);
int ccpmp_encode(char *iname, char *oname); static int ccpmp_encode(char *iname, char *oname);
enum enum
{ {
@ -640,7 +640,7 @@ int main (int argc, char** argv)
return 0; return 0;
} }
int iaudio_encode(char *iname, char *oname, char *idstring) static int iaudio_encode(char *iname, char *oname, char *idstring)
{ {
size_t len; size_t len;
int length; int length;
@ -714,7 +714,7 @@ int iaudio_encode(char *iname, char *oname, char *idstring)
This has also only been tested on an ipod Photo This has also only been tested on an ipod Photo
*/ */
int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc) static int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc)
{ {
static const char *apple_stop_sign = "{{~~ /-----\\ "\ static const char *apple_stop_sign = "{{~~ /-----\\ "\
"{{~~ / \\ "\ "{{~~ / \\ "\
@ -834,7 +834,7 @@ int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc)
} }
#define CCPMP_SIZE 0x500000 #define CCPMP_SIZE 0x500000
int ccpmp_encode(char *iname, char *oname) static int ccpmp_encode(char *iname, char *oname)
{ {
size_t len; size_t len;
int length; int length;