summaryrefslogtreecommitdiff
path: root/tools/scramble.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scramble.c')
-rw-r--r--tools/scramble.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/scramble.c b/tools/scramble.c
index 51f672bcd0..da035436eb 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -31,9 +31,9 @@
31#include "creative.h" 31#include "creative.h"
32#include "iaudio_bl_flash.h" 32#include "iaudio_bl_flash.h"
33 33
34int iaudio_encode(char *iname, char *oname, char *idstring); 34static int iaudio_encode(char *iname, char *oname, char *idstring);
35int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc); 35static int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc);
36int ccpmp_encode(char *iname, char *oname); 36static int ccpmp_encode(char *iname, char *oname);
37 37
38enum 38enum
39{ 39{
@@ -640,7 +640,7 @@ int main (int argc, char** argv)
640 return 0; 640 return 0;
641} 641}
642 642
643int iaudio_encode(char *iname, char *oname, char *idstring) 643static int iaudio_encode(char *iname, char *oname, char *idstring)
644{ 644{
645 size_t len; 645 size_t len;
646 int length; 646 int length;
@@ -714,7 +714,7 @@ int iaudio_encode(char *iname, char *oname, char *idstring)
714 This has also only been tested on an ipod Photo 714 This has also only been tested on an ipod Photo
715*/ 715*/
716 716
717int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc) 717static int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc)
718{ 718{
719 static const char *apple_stop_sign = "{{~~ /-----\\ "\ 719 static const char *apple_stop_sign = "{{~~ /-----\\ "\
720 "{{~~ / \\ "\ 720 "{{~~ / \\ "\
@@ -834,7 +834,7 @@ int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc)
834} 834}
835 835
836#define CCPMP_SIZE 0x500000 836#define CCPMP_SIZE 0x500000
837int ccpmp_encode(char *iname, char *oname) 837static int ccpmp_encode(char *iname, char *oname)
838{ 838{
839 size_t len; 839 size_t len;
840 int length; 840 int length;