{"thread":{"id":"223","subject":"[PATCH 13/19] Remove active_cache, active_nr, and active_alloc from public view","startedAt":"2005-04-21T18:37:49Z","lastAt":"2005-04-21T18:37:49Z","messageCount":1,"participants":["Brad Roberts"],"isPatch":true,"patchVersion":1,"patchTotal":19},"messages":[{"id":"1172","messageId":"200504211837.j3LIbnE5027702@gameboy2.puremagic.com","threadId":"223","inReplyTo":null,"subject":"[PATCH 13/19] Remove active_cache, active_nr, and active_alloc from public view","fromName":"Brad Roberts","fromEmail":"braddr@gameboy2.puremagic.com","sentAt":"2005-04-21T18:37:49Z","receivedAt":"2005-04-21T18:37:49Z","isPatch":true,"sender":{"key":"braddr@gameboy2.puremagic.com","avatar":null},"body":"tree 9198385d73b718a2fd016362a9d93ccce1e7423c\nparent cc414a188c0e8fefa7bea4f969cc7adfe4265d6f\nauthor Brad Roberts <braddr@puremagic.com> 1114083132 -0700\ncommitter Brad Roberts <braddr@gameboy2.puremagic.com> 1114083132 -0700\n\n[PATCH] Remove active_cache, active_nr, and active_alloc from public view\n\nSigned-off-by: Brad Roberts <braddr@puremagic.com>\n---\n\n cache.h      |    2 --\n read-cache.c |    4 ++--\n 2 files changed, 2 insertions(+), 4 deletions(-)\n\nIndex: cache.h\n===================================================================\n--- cc414a188c0e8fefa7bea4f969cc7adfe4265d6f:1/cache.h  (mode:100644 sha1:74d816c34245e0dde41643188f38cf99ca75e75f)\n+++ ff3667537379d5b0680e8c4f9a14d82dc9835430:1/cache.h  (mode:100644 sha1:b29bb0ca5e7be15c0b423101f5cf381ee68f139e)\n@@ -78,8 +78,6 @@\n #define cache_entry_size(len) ((offsetof(struct cache_entry,name) + (len) + 8) & ~7)\n \n const char *sha1_file_directory;\n-struct cache_entry **active_cache;\n-unsigned int active_nr, active_alloc;\n \n #define DB_ENVIRONMENT \"SHA1_FILE_DIRECTORY\"\n #define DEFAULT_DB_ENVIRONMENT \".git/objects\"\nIndex: read-cache.c\n===================================================================\n--- cc414a188c0e8fefa7bea4f969cc7adfe4265d6f:1/read-cache.c  (mode:100644 sha1:286f7136bc164f3a2317bb492138d9221efb4025)\n+++ ff3667537379d5b0680e8c4f9a14d82dc9835430:1/read-cache.c  (mode:100644 sha1:0e972a80fa19eb77fd547fb579354af784be3ac4)\n@@ -6,8 +6,8 @@\n #include <stdarg.h>\n #include \"cache.h\"\n \n-struct cache_entry **active_cache = NULL;\n-unsigned int active_nr = 0, active_alloc = 0;\n+static struct cache_entry **active_cache = NULL;\n+static unsigned int active_nr = 0, active_alloc = 0;\n \n int cache_match_stat(struct cache_entry *ce, struct stat *st)\n {\n\n"}]}