aboutsummaryrefslogtreecommitdiff
path: root/cvs2git.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-03 10:10:45 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-03 10:10:45 -0700
commit6da4016aea2dc5bf311fea160bd8ef96ca82b999 (patch)
tree24f35b804286e5d0b86df471f5c48b339507f221 /cvs2git.c
parent44c9e8594e7854fcead68ae0959e00137c2bbb59 (diff)
downloadgit-6da4016aea2dc5bf311fea160bd8ef96ca82b999.tar.xz
Fix sparse warnings.
Mainly making a lot of local functions and variables be marked "static", but there was a "zero as NULL" warning in there too.
Diffstat (limited to 'cvs2git.c')
-rw-r--r--cvs2git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cvs2git.c b/cvs2git.c
index ab0590872e..8c50e67d52 100644
--- a/cvs2git.c
+++ b/cvs2git.c
@@ -206,7 +206,7 @@ static void update_file(char *line)
printf("git-update-cache --add -- '%s'\n", name);
}
-struct hdrentry {
+static struct hdrentry {
const char *name;
char *dest;
} hdrs[] = {