summaryrefslogtreecommitdiff
path: root/src/demuxers/qtpalette.h
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2007-04-08 01:12:44 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2007-04-08 01:12:44 +0100
commit3a233b827783151c4c08985224782f1dcce43a8f (patch)
tree5377813a1b3369d2700050df921ec0b33426b7f6 /src/demuxers/qtpalette.h
parentf12149f0ca2743e6f5f9d39ba53b27c306137597 (diff)
downloadxine-lib-3a233b827783151c4c08985224782f1dcce43a8f.tar.gz
xine-lib-3a233b827783151c4c08985224782f1dcce43a8f.tar.bz2
Mark various private arrays, structs & fn parameters as static and/or const.
Two of the modified files are headers, but each contains definitions as well as declarations and is only ever used once.
Diffstat (limited to 'src/demuxers/qtpalette.h')
-rw-r--r--src/demuxers/qtpalette.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/qtpalette.h b/src/demuxers/qtpalette.h
index 18b47c697..a8a44e916 100644
--- a/src/demuxers/qtpalette.h
+++ b/src/demuxers/qtpalette.h
@@ -7,14 +7,14 @@
#ifndef QTPALETTE_H
#define QTPALETTE_H
-unsigned char qt_default_palette_4[4 * 4] = {
+static const unsigned char qt_default_palette_4[4 * 4] = {
0x93, 0x65, 0x5E, 0x00,
0xFF, 0xFF, 0xFF, 0x00,
0xDF, 0xD0, 0xAB, 0x00,
0x00, 0x00, 0x00, 0x00
};
-unsigned char qt_default_palette_16[16 * 4] = {
+static const unsigned char qt_default_palette_16[16 * 4] = {
0xFF, 0xFB, 0xFF, 0x00,
0xEF, 0xD9, 0xBB, 0x00,
0xE8, 0xC9, 0xB1, 0x00,
@@ -33,7 +33,7 @@ unsigned char qt_default_palette_16[16 * 4] = {
0x00, 0x00, 0x00, 0x00
};
-unsigned char qt_default_palette_256[256 * 4] = {
+static const unsigned char qt_default_palette_256[256 * 4] = {
/* 0, 0x00 */ 0xFF, 0xFF, 0xFF, 0x00,
/* 1, 0x01 */ 0xFF, 0xFF, 0xCC, 0x00,
/* 2, 0x02 */ 0xFF, 0xFF, 0x99, 0x00,