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 | d4034d796fc48b3df471453b0971a65ef45f0148 (patch) | |
tree | d87d8b51aa51e42b41e346b9fc3f9a0e223e423b /source3/smbd | |
parent | f2843dec43a4f239a01e167dc322e9808c6e4163 (diff) | |
download | samba-d4034d796fc48b3df471453b0971a65ef45f0148.tar.gz samba-d4034d796fc48b3df471453b0971a65ef45f0148.tar.bz2 samba-d4034d796fc48b3df471453b0971a65ef45f0148.zip |
made a couple of variables static
(This used to be commit fb6ce175d479e5bddc239595320f5dc245ac2ec6)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/mangle_hash2.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/smbd/mangle_hash2.c b/source3/smbd/mangle_hash2.c index 5b3c63ec55..a473de38d6 100644 --- a/source3/smbd/mangle_hash2.c +++ b/source3/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 |