author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Fri, 20 May 2005 18:46:10 +0000 (11:46 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Fri, 20 May 2005 18:46:10 +0000 (11:46 -0700) | ||
commit | e99d59ff0bff349ef205cef1076e0354c8130680 | |
tree | 530ca0d4db45176dad22016af0e2d61c2a321c70 | tree | snapshot |
parent | 7ca45252a35df8c78060ff233957fc558714a5d6 | commit | diff |
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.
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 | blob | history | |
diff-cache.c | diff | blob | history | |
diff-files.c | diff | blob | history | |
diff-helper.c | diff | blob | history | |
diff-tree.c | diff | blob | history | |
diff.c | diff | blob | history | |
export.c | diff | blob | history | |
init-db.c | diff | blob | history | |
ls-files.c | diff | blob | history | |
ls-tree.c | diff | blob | history | |
merge-base.c | diff | blob | history | |
read-tree.c | diff | blob | history | |
rev-tree.c | diff | blob | history | |
rpush.c | diff | blob | history | |
sha1_file.c | diff | blob | history | |
strbuf.c | diff | blob | history | |
tar-tree.c | diff | blob | history | |
update-cache.c | diff | blob | history |