diff options
author | Lars Hjemli <hjemli@gmail.com> | 2007-05-15 06:58:29 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-15 07:00:37 (JST) |
commit | 9927e63f387e6c9328eb3c347ecb0e339f8ac023 (patch) | |
tree | 3a73f7652445007a66aad5b8969201be9d42ed68 /ui-commit.c | |
parent | 5ec6e02bd1cc0c05b7cfd0d53371e7d176daec39 (diff) | |
download | cgit-9927e63f387e6c9328eb3c347ecb0e339f8ac023.zip cgit-9927e63f387e6c9328eb3c347ecb0e339f8ac023.tar.gz |
Specify static storage class for file-local declarations
Also fix some whitespace issues while at it.
Noticed by Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-commit.c')
-rw-r--r-- | ui-commit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui-commit.c b/ui-commit.c index 20a7cb2..b6a106f 100644 --- a/ui-commit.c +++ b/ui-commit.c | |||
@@ -8,11 +8,11 @@ | |||
8 | 8 | ||
9 | #include "cgit.h" | 9 | #include "cgit.h" |
10 | 10 | ||
11 | int files = 0, slots = 0; | 11 | static int files, slots; |
12 | int total_adds = 0, total_rems = 0, max_changes = 0; | 12 | static int total_adds, total_rems, max_changes; |
13 | int lines_added, lines_removed; | 13 | static int lines_added, lines_removed; |
14 | 14 | ||
15 | struct fileinfo { | 15 | static struct fileinfo { |
16 | char status; | 16 | char status; |
17 | unsigned char old_sha1[20]; | 17 | unsigned char old_sha1[20]; |
18 | unsigned char new_sha1[20]; | 18 | unsigned char new_sha1[20]; |