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.zip
rockbox-dacbb5d22a9820f080ab062c0f88e15bc90f2296.tar.gz
rockbox-dacbb5d22a9820f080ab062c0f88e15bc90f2296.tar.bz2
rockbox-dacbb5d22a9820f080ab062c0f88e15bc90f2296.tar.xz
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 51f672b..da03543 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -31,9 +31,9 @@
#include "creative.h"
#include "iaudio_bl_flash.h"
-int iaudio_encode(char *iname, char *oname, char *idstring);
-int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc);
-int ccpmp_encode(char *iname, char *oname);
+static int iaudio_encode(char *iname, char *oname, char *idstring);
+static int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc);
+static int ccpmp_encode(char *iname, char *oname);
enum
{
@@ -640,7 +640,7 @@ int main (int argc, char** argv)
return 0;
}
-int iaudio_encode(char *iname, char *oname, char *idstring)
+static int iaudio_encode(char *iname, char *oname, char *idstring)
{
size_t len;
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
*/
-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 = "{{~~ /-----\\ "\
"{{~~ / \\ "\
@@ -834,7 +834,7 @@ int ipod_encode(char *iname, char *oname, int fw_ver, bool fake_rsrc)
}
#define CCPMP_SIZE 0x500000
-int ccpmp_encode(char *iname, char *oname)
+static int ccpmp_encode(char *iname, char *oname)
{
size_t len;
int length;