summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--ui-commit.c8
-rw-r--r--ui-summary.c2
2 files changed, 5 insertions, 5 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];
diff --git a/ui-summary.c b/ui-summary.c
index 9388f5f..f6120f9 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -8,7 +8,7 @@
8 8
9#include "cgit.h" 9#include "cgit.h"
10 10
11int items = 0; 11static int items;
12 12
13static int cgit_print_branch_cb(const char *refname, const unsigned char *sha1, 13static int cgit_print_branch_cb(const char *refname, const unsigned char *sha1,
14 int flags, void *cb_data) 14 int flags, void *cb_data)