Skip to content

Commit

Permalink
git-compat-util.h: add missing semicolon after struct itimerval
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonas 'Sortie' Termansen authored and Junio C Hamano committed Aug 29, 2014
1 parent 6c4ab27 commit 981ff52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-compat-util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 981ff52

Please sign in to comment.