diff options
author | Timo Hirvonen <tihirvon@gmail.com> | 2005-11-21 02:52:52 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-20 22:14:16 -0800 |
commit | bd22c904a0f1c88a3a7bfa96bbf690de2f5cb278 (patch) | |
tree | dd1fe80dd0120cfcb2f551d6a4bf88bebe29ce8b /name-rev.c | |
parent | 8fc66df237afce0b4318657f166b3583831949f3 (diff) | |
download | git-bd22c904a0f1c88a3a7bfa96bbf690de2f5cb278.tar.gz git-bd22c904a0f1c88a3a7bfa96bbf690de2f5cb278.tar.xz |
Fix sparse warnings
Make some functions static and convert func() function prototypes to to
func(void). Fix declaration after statement, missing declaration and
redundant declaration warnings.
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'name-rev.c')
-rw-r--r-- | name-rev.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/name-rev.c b/name-rev.c index 59194f134..817e36b79 100644 --- a/name-rev.c +++ b/name-rev.c @@ -230,8 +230,6 @@ int main(int argc, char **argv) fwrite(p_start, p - p_start, 1, stdout); } } else if (all) { - extern struct object **objs; - extern int nr_objs; int i; for (i = 0; i < nr_objs; i++) |