diff options
Diffstat (limited to 'tools/scramble.c')
-rw-r--r-- | tools/scramble.c | 12 |
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 | ||
34 | int iaudio_encode(char *iname, char *oname, char *idstring); | 34 | static int iaudio_encode(char *iname, char *oname, char *idstring); |
35 | int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc); | 35 | static int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc); |
36 | int ccpmp_encode(char *iname, char *oname); | 36 | static int ccpmp_encode(char *iname, char *oname); |
37 | 37 | ||
38 | enum | 38 | enum |
39 | { | 39 | { |
@@ -640,7 +640,7 @@ int main (int argc, char** argv) | |||
640 | return 0; | 640 | return 0; |
641 | } | 641 | } |
642 | 642 | ||
643 | int iaudio_encode(char *iname, char *oname, char *idstring) | 643 | static 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 | ||
717 | int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc) | 717 | static 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 |
837 | int ccpmp_encode(char *iname, char *oname) | 837 | static int ccpmp_encode(char *iname, char *oname) |
838 | { | 838 | { |
839 | size_t len; | 839 | size_t len; |
840 | int length; | 840 | int length; |