Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2005-08-01 23:11:53 +0400
committerJunio C Hamano <junkio@cox.net>2005-08-02 00:28:58 +0400
commit4d8fa916c9ff89613234f41b9222a2b679bce5c3 (patch)
tree1cf1d200c1c5efeb14d2a7317a933f71e15b1c7c /rev-cache.c
parent9b75e9fa7b2c9bae2d386a380e7f80a7b6c4462e (diff)
[PATCH] Fix sparse warnings
A few sparse warnings have crept in again since I checked last time: undeclared variables with global scope. Fix them by marking the private variables properly "static". Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'rev-cache.c')
-rw-r--r--rev-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rev-cache.c b/rev-cache.c
index f908ce7a3a..6344d62247 100644
--- a/rev-cache.c
+++ b/rev-cache.c
@@ -5,7 +5,7 @@
struct rev_cache **rev_cache;
int nr_revs, alloc_revs;
-struct rev_list_elem *rle_free;
+static struct rev_list_elem *rle_free;
#define BATCH_SIZE 512