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 /parsing.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 'parsing.c')
-rw-r--r-- | parsing.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -52,7 +52,7 @@ void cgit_parse_url(const char *url) | |||
52 | } | 52 | } |
53 | } | 53 | } |
54 | 54 | ||
55 | char *substr(const char *head, const char *tail) | 55 | static char *substr(const char *head, const char *tail) |
56 | { | 56 | { |
57 | char *buf; | 57 | char *buf; |
58 | 58 | ||
@@ -64,7 +64,7 @@ char *substr(const char *head, const char *tail) | |||
64 | return buf; | 64 | return buf; |
65 | } | 65 | } |
66 | 66 | ||
67 | char *parse_user(char *t, char **name, char **email, unsigned long *date) | 67 | static char *parse_user(char *t, char **name, char **email, unsigned long *date) |
68 | { | 68 | { |
69 | char *p = t; | 69 | char *p = t; |
70 | int mode = 1; | 70 | int mode = 1; |
@@ -101,7 +101,7 @@ char *parse_user(char *t, char **name, char **email, unsigned long *date) | |||
101 | #ifdef NO_ICONV | 101 | #ifdef NO_ICONV |
102 | #define reencode(a, b, c) | 102 | #define reencode(a, b, c) |
103 | #else | 103 | #else |
104 | const char *reencode(char **txt, const char *src_enc, const char *dst_enc) | 104 | static const char *reencode(char **txt, const char *src_enc, const char *dst_enc) |
105 | { | 105 | { |
106 | char *tmp; | 106 | char *tmp; |
107 | 107 | ||