git-compat-util.h: add missing semicolon after struct itimerval
authorJonas 'Sortie' Termansen <sortie@maxsi.org>
Fri, 29 Aug 2014 16:42:33 +0000 (09:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Aug 2014 17:38:07 +0000 (10:38 -0700)
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>
git-compat-util.h
index f587749b7cf6a74be376792eb0ad70b7e5e4f597..f7fae2060771ba62b33dec67c72253517e880a3a 100644 (file)
@@ -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