diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-01-21 10:17:04 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-01-21 10:18:50 +0100 |
commit | 80e02cbdf9d4645d3daeccf4b233d65b4ff8a19c (patch) | |
tree | a4c53d3aa84367082b22c9381c22991e38ff5bee /gst/librfb/d3des.c | |
parent | 8941fcacecea043952a87909d48d4d239c5c13e9 (diff) | |
download | gstreamer-plugins-bad-80e02cbdf9d4645d3daeccf4b233d65b4ff8a19c.tar.gz |
Constify some static arrays everywhere
Diffstat (limited to 'gst/librfb/d3des.c')
-rw-r--r-- | gst/librfb/d3des.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/librfb/d3des.c b/gst/librfb/d3des.c index 785a3a80d..c05fea3f0 100644 --- a/gst/librfb/d3des.c +++ b/gst/librfb/d3des.c @@ -36,12 +36,12 @@ static void unscrun (unsigned long *, unsigned char *); static void desfunc (unsigned long *, unsigned long *); static void cookey (DESContext * ctx, unsigned long *); -//static unsigned long KnL[32] = { 0L }; +//static const unsigned long KnL[32] = { 0L }; -//static unsigned long KnR[32] = { 0L }; -//static unsigned long Kn3[32] = { 0L }; +//static const unsigned long KnR[32] = { 0L }; +//static const unsigned long Kn3[32] = { 0L }; /* - * static unsigned char Df_Key[24] = { + * static const unsigned char Df_Key[24] = { * 0x01,0x23,0x45,0x67,0x89,0xab,0xcd,0xef, * 0xfe,0xdc,0xba,0x98,0x76,0x54,0x32,0x10, * 0x89,0xab,0xcd,0xef,0x01,0x23,0x45,0x67 }; |