made a couple of variables static
authorAndrew Tridgell <tridge@samba.org>
Wed, 24 Apr 2002 09:00:29 +0000 (09:00 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 24 Apr 2002 09:00:29 +0000 (09:00 +0000)
(This used to be commit fb6ce175d479e5bddc239595320f5dc245ac2ec6)

source3/smbd/mangle_hash2.c

index 5b3c63ec5596206232b1acc2f41f943876c68087..a473de38d606e77310761a268991a7dea40fc916 100644 (file)
@@ -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