summaryrefslogtreecommitdiff
path: root/server-info.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2005-08-01 12:11:53 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-01 13:28:58 -0700
commit4d8fa916c9ff89613234f41b9222a2b679bce5c3 (patch)
tree1cf1d200c1c5efeb14d2a7317a933f71e15b1c7c /server-info.c
parent9b75e9fa7b2c9bae2d386a380e7f80a7b6c4462e (diff)
downloadgit-4d8fa916c9ff89613234f41b9222a2b679bce5c3.tar.gz
[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 'server-info.c')
-rw-r--r--server-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-info.c b/server-info.c
index 3dd201afb9..2b3aecab4a 100644
--- a/server-info.c
+++ b/server-info.c
@@ -62,7 +62,7 @@ static int update_info_refs(int force)
}
/* packs */
-struct pack_info {
+static struct pack_info {
unsigned long latest;
struct packed_git *p;
int old_num;