aboutsummaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJonas 'Sortie' Termansen <sortie@maxsi.org>2014-08-29 09:42:33 -0700
committerJunio C Hamano <gitster@pobox.com>2014-08-29 10:38:07 -0700
commit981ff520b7487886c773910d6309ec327efba3ea (patch)
treeb3e2c6f124e423e32919da36fb3e1c1a1049000e /git-compat-util.h
parent6c4ab27f2378ce67940b4496365043119d7ffff2 (diff)
downloadgit-981ff520b7487886c773910d6309ec327efba3ea.tar.gz
git-981ff520b7487886c773910d6309ec327efba3ea.tar.xz
git-compat-util.h: add missing semicolon after struct itimerval
This hasn't been a problem in practice as almost all systems have the setitimer() API (or it is provided by git in the case of mingw). This code wasn't used in any default circumstances, as the build system never sets NO_STRUCT_ITIMERVAL - this breakage only occured if the user asked for it. We repair this case so we can rely on it in the following commits. Signed-off-by: Jonas 'Sortie' Termansen <sortie@maxsi.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index f587749b7..f7fae2060 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -191,7 +191,7 @@ extern int compat_mkdir_wo_trailing_slash(const char*, mode_t);
struct itimerval {
struct timeval it_interval;
struct timeval it_value;
-}
+};
#endif
#ifdef NO_SETITIMER