X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/6a8749d3bd1570faa3dc07e80efc8fcef5953aa0..495e39677326284ea13b2f6d76195d6800c2a450:/ui-commit.c diff --git a/ui-commit.c b/ui-commit.c index b3d1c28..b6a106f 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -8,11 +8,11 @@ #include "cgit.h" -int files = 0, slots = 0; -int total_adds = 0, total_rems = 0, max_changes = 0; -int lines_added, lines_removed; +static int files, slots; +static int total_adds, total_rems, max_changes; +static int lines_added, lines_removed; -struct fileinfo { +static struct fileinfo { char status; unsigned char old_sha1[20]; unsigned char new_sha1[20]; @@ -186,7 +186,8 @@ void cgit_print_commit(const char *hex) cgit_print_date(info->committer_date); html("\n"); html("