From bb5799d6ef3ad7ee70a138b82e67b93e3aaa8017 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Mon, 23 Jun 2008 08:31:41 +0200 Subject: Make my_mktime() public and rename it to tm_to_time_t() We will use it from the MinGW port's gettimeofday() substitution. Signed-off-by: Johannes Sixt --- git-compat-util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'git-compat-util.h') diff --git a/git-compat-util.h b/git-compat-util.h index a9a85be89d..58cdc087fa 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -147,6 +147,7 @@ extern void set_error_routine(void (*routine)(const char *err, va_list params)); extern void set_warn_routine(void (*routine)(const char *warn, va_list params)); extern int prefixcmp(const char *str, const char *prefix); +extern time_t tm_to_time_t(const struct tm *tm); #ifdef NO_MMAP -- cgit 1.2.3-korg