about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-03-08 16:32:22 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2015-03-09 17:39:48 +0100
commit0f23d4651c80170574c0ab2f091c0718150631ce (patch)
treef3d7ce05b09d685deda9d553929366185fa8b5d9
parentui-repolist: make sortcolumn definitions 'static const' (diff)
downloadcgit-pink-0f23d4651c80170574c0ab2f091c0718150631ce.tar.gz
cgit-pink-0f23d4651c80170574c0ab2f091c0718150631ce.zip
ui-shared: make cgit_doctype 'static'
This is not used outside this file and is not declared.

Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to '')
-rw-r--r--ui-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 6d3cfa9..d4c4bb9 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -11,7 +11,7 @@
 #include "cmd.h"
 #include "html.h"
 
-const char cgit_doctype[] =
+static const char cgit_doctype[] =
 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n"
 "  \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";