diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-04-24 09:00:29 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-04-24 09:00:29 +0000 |
commit | fb6ce175d479e5bddc239595320f5dc245ac2ec6 (patch) | |
tree | 0aa6de0b873cdd51a0aca4573c88558a95612eb7 /source/smbd/mangle_hash2.c | |
parent | 0827bd4184256a87d6cf6c58bc314309503da7be (diff) | |
download | samba-fb6ce175d479e5bddc239595320f5dc245ac2ec6.tar.gz |
made a couple of variables static
Diffstat (limited to 'source/smbd/mangle_hash2.c')
-rw-r--r-- | source/smbd/mangle_hash2.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/smbd/mangle_hash2.c b/source/smbd/mangle_hash2.c index 5b3c63ec559..a473de38d60 100644 --- a/source/smbd/mangle_hash2.c +++ b/source/smbd/mangle_hash2.c @@ -88,13 +88,14 @@ static char **prefix_cache; static u32 *prefix_cache_hashes; /* these are the characters we use in the 8.3 hash. Must be 36 chars long */ -const char *basechars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; +static const char *basechars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; static unsigned char base_reverse[256]; #define base_forward(v) basechars[v] /* the list of reserved dos names - all of these are illegal */ -const char *reserved_names[] = { "AUX", "LOCK$", "CON", "COM1", "COM2", "COM3", "COM4", - "LPT1", "LPT2", "LPT3", "NUL", "PRN", NULL }; +static const char *reserved_names[] = +{ "AUX", "LOCK$", "CON", "COM1", "COM2", "COM3", "COM4", + "LPT1", "LPT2", "LPT3", "NUL", "PRN", NULL }; /* hash a string of the specified length. The string does not need to be |