diff options
| author | 2013-03-04 16:52:33 (JST) | |
|---|---|---|
| committer | 2013-03-05 09:50:39 (JST) | |
| commit | bafab423f20bc1448b293842c235965e1681f07e (patch) | |
| tree | 18c4bef1e4714c4abd20b8e1d5ec04db3ae3b9ac /ui-log.c | |
| parent | d5a43b429a4248a02e3a403f76fff0cbae92ef32 (diff) | |
| download | cgit-bafab423f20bc1448b293842c235965e1681f07e.zip cgit-bafab423f20bc1448b293842c235965e1681f07e.tar.gz | |
Mark several functions/variables static
Spotted by parsing the output of `gcc -Wmissing-prototypes [...]`.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'ui-log.c')
| -rw-r--r-- | ui-log.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -28,7 +28,7 @@ static const char *column_colors_html[] = { | |||
| 28 | 28 | ||
| 29 | #define COLUMN_COLORS_HTML_MAX (ARRAY_SIZE(column_colors_html) - 1) | 29 | #define COLUMN_COLORS_HTML_MAX (ARRAY_SIZE(column_colors_html) - 1) |
| 30 | 30 | ||
| 31 | void count_lines(char *line, int size) | 31 | static void count_lines(char *line, int size) |
| 32 | { | 32 | { |
| 33 | if (size <= 0) | 33 | if (size <= 0) |
| 34 | return; | 34 | return; |
| @@ -40,7 +40,7 @@ void count_lines(char *line, int size) | |||
| 40 | rem_lines++; | 40 | rem_lines++; |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | void inspect_files(struct diff_filepair *pair) | 43 | static void inspect_files(struct diff_filepair *pair) |
| 44 | { | 44 | { |
| 45 | unsigned long old_size = 0; | 45 | unsigned long old_size = 0; |
| 46 | unsigned long new_size = 0; | 46 | unsigned long new_size = 0; |
| @@ -95,7 +95,7 @@ next: | |||
| 95 | } | 95 | } |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | void print_commit(struct commit *commit, struct rev_info *revs) | 98 | static void print_commit(struct commit *commit, struct rev_info *revs) |
| 99 | { | 99 | { |
| 100 | struct commitinfo *info; | 100 | struct commitinfo *info; |
| 101 | int cols = revs->graph ? 3 : 2; | 101 | int cols = revs->graph ? 3 : 2; |
