summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-02-07 06:05:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-02-07 06:05:23 (GMT)
commitb2fc9d2fb02782a20d4370d7989be8b0a54f1017 (patch)
tree9771fd700c2e746ddee794f0c89b69004ad3950f /cache.h
parent7589e63648bf5224e186990931b1491f36e10a4b (diff)
parent55ad152cfbf99409859fc8f7a1d602d9c47415a4 (diff)
downloadgit-b2fc9d2fb02782a20d4370d7989be8b0a54f1017.zip
git-b2fc9d2fb02782a20d4370d7989be8b0a54f1017.tar.gz
git-b2fc9d2fb02782a20d4370d7989be8b0a54f1017.tar.bz2
Merge branch 'jk/unused-parameter-cleanup'
Code cleanup. * jk/unused-parameter-cleanup: convert: drop path parameter from actual conversion functions convert: drop len parameter from conversion checks config: drop unused parameter from maybe_remove_section() show_date_relative(): drop unused "tz" parameter column: drop unused "opts" parameter in item_length() create_bundle(): drop unused "header" parameter apply: drop unused "def" parameter from find_name_gnu() match-trees: drop unused path parameter from score functions
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index c653668..400bc0a 100644
--- a/cache.h
+++ b/cache.h
@@ -1488,7 +1488,7 @@ struct date_mode {
struct date_mode *date_mode_from_type(enum date_mode_type type);
const char *show_date(timestamp_t time, int timezone, const struct date_mode *mode);
-void show_date_relative(timestamp_t time, int tz, const struct timeval *now,
+void show_date_relative(timestamp_t time, const struct timeval *now,
struct strbuf *timebuf);
int parse_date(const char *date, struct strbuf *out);
int parse_date_basic(const char *date, timestamp_t *timestamp, int *offset);