Skip to content

Commit 981ff52

Browse files
sortiegitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6c4ab27 commit 981ff52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-compat-util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ extern int compat_mkdir_wo_trailing_slash(const char*, mode_t);
191191
struct itimerval {
192192
struct timeval it_interval;
193193
struct timeval it_value;
194-
}
194+
};
195195
#endif
196196

197197
#ifdef NO_SETITIMER

0 commit comments

Comments
 (0)