From 4d8fa916c9ff89613234f41b9222a2b679bce5c3 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 1 Aug 2005 12:11:53 -0700 Subject: [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 Signed-off-by: Junio C Hamano --- server-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server-info.c') diff --git a/server-info.c b/server-info.c index 3dd201afb..2b3aecab4 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; -- cgit v1.2.1