Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Make my_mktime() public and rename it to tm_to_time_t()
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index a9a85be89d69c91afcde3530325494dffbdf48b1..58cdc087fac4aa266b1a8c3959b44bbdbcef33f2 100644
(file)
--- 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