aboutsummaryrefslogtreecommitdiffstats
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-05-20 08:33:27 -0700
committerJunio C Hamano <gitster@pobox.com>2020-05-20 08:33:27 -0700
commit7b304ab16c7b1e6cdf6294fe16177a42a2894f8c (patch)
tree661758bec954d0ddab592cc00807d1164eb84db8 /git-compat-util.h
parent74c6cba6d82a2947c0f80b6343b9ca281ee325b3 (diff)
parent84b0115f0dc9483dbc7f064b46afaddc4d94db92 (diff)
downloadgit-7b304ab16c7b1e6cdf6294fe16177a42a2894f8c.tar.gz
Merge branch 'cb/no-more-gmtime'
Code clean-up by removing a compatibility implementation of a function we no longer use. * cb/no-more-gmtime: compat: remove gmtime
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 8ba576e81e..a73632e8e4 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -1216,13 +1216,6 @@ int access_or_die(const char *path, int mode, unsigned flag);
/* Warn on an inaccessible file if errno indicates this is an error */
int warn_on_fopen_errors(const char *path);
-#ifdef GMTIME_UNRELIABLE_ERRORS
-struct tm *git_gmtime(const time_t *);
-struct tm *git_gmtime_r(const time_t *, struct tm *);
-#define gmtime git_gmtime
-#define gmtime_r git_gmtime_r
-#endif
-
#if !defined(USE_PARENS_AROUND_GETTEXT_N) && defined(__GNUC__)
#define USE_PARENS_AROUND_GETTEXT_N 1
#endif