]> gitweb.ps.run Git - ps-cgit/commitdiff
ui-log: make some variables 'static'
authorJohn Keeping <john@keeping.me.uk>
Sun, 8 Mar 2015 16:32:20 +0000 (16:32 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 9 Mar 2015 16:39:20 +0000 (17:39 +0100)
These are not used outside this file and are not declared.

Signed-off-by: John Keeping <john@keeping.me.uk>
ui-log.c

index 1b605910a0362349920ad09f260fc923aed790c1..32b4c4734d0cc26b457fc45c26d0fd8f31089e62 100644 (file)
--- a/ui-log.c
+++ b/ui-log.c
@@ -12,7 +12,7 @@
 #include "ui-shared.h"
 #include "argv-array.h"
 
-int files, add_lines, rem_lines;
+static int files, add_lines, rem_lines;
 
 /*
  * The list of available column colors in the commit graph.