Jacob Keller <jacob.e.kel...@intel.com> writes:

> diff --git a/builtin/log.c b/builtin/log.c
> index 4389722b4b1e..a39e82d67eb3 100644
> --- a/builtin/log.c
> +++ b/builtin/log.c
> ...
> @@ -271,9 +271,12 @@ static void log_show_early(struct rev_info *revs, struct 
> commit_list *list)
>        * trigger every second even if we're blocked on a
>        * reader!
>        */
> -     early_output_timer.it_value.tv_sec = 0;
> -     early_output_timer.it_value.tv_usec = 500000;
> -     setitimer(ITIMER_REAL, &early_output_timer, NULL);
> +     struct itimerspec value;
> +     value.it_value.tv_sec = 0;
> +     value.it_value.tv_nsec = 500000L * 1000L;
> +     value.it_interval.tv_sec = 0;
> +     value.it_interval.tv_nsec = 0;
> +     timer_settime(early_output_timer, 0, &value, NULL);

Do I see decl-after-stmt up there?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to