aboutsummaryrefslogtreecommitdiffstats
path: root/ui-commit.c
diff options
context:
space:
mode:
authorLars Hjemli2007-05-14 23:58:29 +0200
committerLars Hjemli2007-05-15 00:00:37 +0200
commit9927e63f387e6c9328eb3c347ecb0e339f8ac023 (patch)
tree3a73f7652445007a66aad5b8969201be9d42ed68 /ui-commit.c
parent5ec6e02bd1cc0c05b7cfd0d53371e7d176daec39 (diff)
downloadcgit-9927e63f387e6c9328eb3c347ecb0e339f8ac023.tar.gz
cgit-9927e63f387e6c9328eb3c347ecb0e339f8ac023.tar.bz2
cgit-9927e63f387e6c9328eb3c347ecb0e339f8ac023.zip
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.c8
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
11int files = 0, slots = 0; 11static int files, slots;
12int total_adds = 0, total_rems = 0, max_changes = 0; 12static int total_adds, total_rems, max_changes;
13int lines_added, lines_removed; 13static int lines_added, lines_removed;
14 14
15struct fileinfo { 15static 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];