diff options
author | Johannes Sixt <johannes.sixt@telecom.at> | 2008-06-23 08:31:41 +0200 |
---|---|---|
committer | Johannes Sixt <johannes.sixt@telecom.at> | 2008-06-23 13:40:29 +0200 |
commit | bb5799d6ef3ad7ee70a138b82e67b93e3aaa8017 (patch) | |
tree | 7d8545bda9d1d110792fa26a85b554358d603837 /git-compat-util.h | |
parent | ea9e98c3a54d3b693367fbb8c87812b17ad95869 (diff) | |
download | git-bb5799d6ef3ad7ee70a138b82e67b93e3aaa8017.tar.gz |
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 <johannes.sixt@telecom.at>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |