diff options
author | Jason A. Donenfeld | 2013-03-20 20:21:25 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2013-03-20 20:21:25 +0100 |
commit | 0255821e22678d4c58c809efe17bf2798835d5b9 (patch) | |
tree | d4679ff23796406648cf83ff0b98940ba844c5e1 /html.c | |
parent | 6d8a789d61f3a682bc040f1f7f44050b1f723546 (diff) | |
parent | 59fe348deaa270434f05afc56ca8d13618af9ca9 (diff) | |
download | cgit-0255821e22678d4c58c809efe17bf2798835d5b9.tar.gz cgit-0255821e22678d4c58c809efe17bf2798835d5b9.tar.bz2 cgit-0255821e22678d4c58c809efe17bf2798835d5b9.zip |
Merge branch 'wip'
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -39,7 +39,7 @@ static const char* url_escape_table[256] = { | |||
39 | "%fe", "%ff" | 39 | "%fe", "%ff" |
40 | }; | 40 | }; |
41 | 41 | ||
42 | int htmlfd = STDOUT_FILENO; | 42 | static int htmlfd = STDOUT_FILENO; |
43 | 43 | ||
44 | char *fmt(const char *format, ...) | 44 | char *fmt(const char *format, ...) |
45 | { | 45 | { |
@@ -266,7 +266,7 @@ int html_include(const char *filename) | |||
266 | return 0; | 266 | return 0; |
267 | } | 267 | } |
268 | 268 | ||
269 | int hextoint(char c) | 269 | static int hextoint(char c) |
270 | { | 270 | { |
271 | if (c >= 'a' && c <= 'f') | 271 | if (c >= 'a' && c <= 'f') |
272 | return 10 + c - 'a'; | 272 | return 10 + c - 'a'; |
@@ -278,7 +278,7 @@ int hextoint(char c) | |||
278 | return -1; | 278 | return -1; |
279 | } | 279 | } |
280 | 280 | ||
281 | char *convert_query_hexchar(char *txt) | 281 | static char *convert_query_hexchar(char *txt) |
282 | { | 282 | { |
283 | int d1, d2, n; | 283 | int d1, d2, n; |
284 | n = strlen(txt); | 284 | n = strlen(txt); |