sparse cleanup
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 20 May 2005 18:46:10 +0000 (11:46 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 20 May 2005 18:46:10 +0000 (11:46 -0700)
commite99d59ff0bff349ef205cef1076e0354c8130680
tree530ca0d4db45176dad22016af0e2d61c2a321c70
parent7ca45252a35df8c78060ff233957fc558714a5d6
sparse cleanup

Fix various things that sparse complains about:
 - use NULL instead of 0
 - make sure we declare everything properly, or mark it static
 - use proper function declarations ("fn(void)" instead of "fn()")

Sparse is always right.
18 files changed:
date.c
diff-cache.c
diff-files.c
diff-helper.c
diff-tree.c
diff.c
export.c
init-db.c
ls-files.c
ls-tree.c
merge-base.c
read-tree.c
rev-tree.c
rpush.c
sha1_file.c
strbuf.c
tar-tree.c
update-cache.c