summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-01-12 23:36:41 +0000
committerAdam Jackson <ajax@nwnk.net>2006-01-12 23:36:41 +0000
commitaaee3f658482018c622d8cbb926bbfa14df64eea (patch)
tree7b51f43980e24813dd4aeb86fce0660cab96f9f7
parent9f8e330eff571cc0c525fd42c4ef8a34cac2eb0d (diff)
static -> static const
-rw-r--r--ChangeLog5
-rw-r--r--Wraphelp.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a8dd6e0..d14eb3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-12 Adam Jackson <ajax@freedesktop.org>
+
+ * Wraphelp.c:
+ static -> static const
+
2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
diff --git a/Wraphelp.c b/Wraphelp.c
index 8e50ee2..07ccf3e 100644
--- a/Wraphelp.c
+++ b/Wraphelp.c
@@ -66,7 +66,7 @@
* insure compliance.
*/
-static CARD32 skb[8][64] = {
+static const CARD32 skb[8][64] = {
/* for C bits (numbered as per FIPS 46) 1 2 3 4 5 6 */
{ 0x00000000,0x00000010,0x20000000,0x20000010,
0x00010000,0x00010010,0x20010000,0x20010010,
@@ -206,7 +206,7 @@ static CARD32 skb[8][64] = {
};
-static CARD32 SPtrans[8][64] = {
+static const CARD32 SPtrans[8][64] = {
/* nibble 0 */
{ 0x00410100, 0x00010000, 0x40400000, 0x40410100,
0x00400000, 0x40010100, 0x40010000, 0x40400000,
@@ -372,7 +372,7 @@ static CARD32 SPtrans[8][64] = {
#define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)),\
(a)=(a)^(t)^(t>>(16-(n))))\
-static char shifts2[16] = {0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0};
+static const char shifts2[16] = {0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0};
void _XdmcpAuthSetup(auth_cblock key, auth_wrapper_schedule schedule)
{