summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-12-05 21:09:57 +0100
committerVolker Lendecke <vl@samba.org>2007-12-10 12:22:01 +0100
commitcc1664416ddc33d7d949e1f391f47a01cd3de27b (patch)
tree1fcade23941e38556eaecc348d6280a10f1529f4 /source3/smbd
parente9e33adc7c959e5ccfd605dcc0456265e0cffc1d (diff)
downloadsamba-cc1664416ddc33d7d949e1f391f47a01cd3de27b.tar.gz
samba-cc1664416ddc33d7d949e1f391f47a01cd3de27b.tar.bz2
samba-cc1664416ddc33d7d949e1f391f47a01cd3de27b.zip
Move stuff from data to text
(This used to be commit 49f06a2fa70e469bcb5fe17852af011dac32994b)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/mangle_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/mangle_hash.c b/source3/smbd/mangle_hash.c
index 44fbe8a9e8..c369f6eda4 100644
--- a/source3/smbd/mangle_hash.c
+++ b/source3/smbd/mangle_hash.c
@@ -52,9 +52,9 @@
*
*/
-char magic_char = '~';
+static char magic_char = '~';
-static char basechars[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_-!@#$%";
+static const char basechars[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_-!@#$%";
#define MANGLE_BASE (sizeof(basechars)/sizeof(char)-1)
static unsigned char chartest[256] = { 0 };