[Swfdec] libswfdec/compiler.c libswfdec/swfdec_as_initialize.h libswfdec/swfdec_initialize.h
Benjamin Otte
company at kemper.freedesktop.org
Tue Nov 20 01:44:04 PST 2007
libswfdec/compiler.c | 2 +-
libswfdec/swfdec_as_initialize.h | 2 +-
libswfdec/swfdec_initialize.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit a0258f6914873191569676b4e1a1f389d9a8ba2a
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Nov 20 10:43:56 2007 +0100
the init scripts should be static const
diff --git a/libswfdec/compiler.c b/libswfdec/compiler.c
index 5a2f75c..5593cec 100644
--- a/libswfdec/compiler.c
+++ b/libswfdec/compiler.c
@@ -83,7 +83,7 @@ main (int argc, char **argv)
data = SWFAction_getByteCode (action, &len);
contents = get_name (argv[i]);
g_print ("/* compiled from %s */\n", argv[i]);
- g_print ("const unsigned char %s[] = {\n", contents);
+ g_print ("static const unsigned char %s[] = {\n", contents);
g_free (contents);
write_data (data, len);
g_print ("};\n\n");
diff --git a/libswfdec/swfdec_as_initialize.h b/libswfdec/swfdec_as_initialize.h
index da360b0..4a02425 100644
--- a/libswfdec/swfdec_as_initialize.h
+++ b/libswfdec/swfdec_as_initialize.h
@@ -1,7 +1,7 @@
/* This file is autogenerated, do not edit! */
/* compiled from swfdec_as_initialize.as */
-const unsigned char swfdec_as_initialize[] = {
+static const unsigned char swfdec_as_initialize[] = {
0x88, 0xF3, 0x04, 0x36, 0x00, 0x41, 0x53, 0x53, 0x65, 0x74, 0x4E, 0x61, 0x74, 0x69, 0x76, 0x65,
0x00, 0x41, 0x53, 0x6E, 0x61, 0x74, 0x69, 0x76, 0x65, 0x00, 0x41, 0x53, 0x53, 0x65, 0x74, 0x4E,
0x61, 0x74, 0x69, 0x76, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6F, 0x72, 0x00, 0x4F, 0x62,
diff --git a/libswfdec/swfdec_initialize.h b/libswfdec/swfdec_initialize.h
index 1f49f71..bf86265 100644
--- a/libswfdec/swfdec_initialize.h
+++ b/libswfdec/swfdec_initialize.h
@@ -1,7 +1,7 @@
/* This file is autogenerated, do not edit! */
/* compiled from swfdec_initialize.as */
-const unsigned char swfdec_initialize[] = {
+static const unsigned char swfdec_initialize[] = {
0x88, 0x65, 0x1F, 0xCA, 0x01, 0x41, 0x53, 0x53, 0x65, 0x74, 0x4E, 0x61, 0x74, 0x69, 0x76, 0x65,
0x00, 0x41, 0x53, 0x6E, 0x61, 0x74, 0x69, 0x76, 0x65, 0x00, 0x41, 0x53, 0x53, 0x65, 0x74, 0x4E,
0x61, 0x74, 0x69, 0x76, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6F, 0x72, 0x00, 0x66, 0x6C,
More information about the Swfdec
mailing list