summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-24 16:18:18 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-24 16:18:18 +0000
commitdacbb5d22a9820f080ab062c0f88e15bc90f2296 (patch)
treec70e35aa0f0d976cc56e83a4b07ca808de0bad95
parente4921d6ab5f7bf8999592faa0a9179bb40f11ebf (diff)
downloadrockbox-dacbb5d22a9820f080ab062c0f88e15bc90f2296.tar.gz
rockbox-dacbb5d22a9820f080ab062c0f88e15bc90f2296.zip
scramble: Make function static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23330 a1c6a512-1295-4272-9138-f99709370657
-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;