Subject: Re: [PATCH v4 7/8] update-ref: support multiple simultaneous updates

From: Junio C Hamano <[email-masked]>
Date: Wed, 04 Sep 2013 12:17:06 -0700

Brad King <[email-masked]> writes:

> +static void update_refs_stdin_read_n()
> +{
> +	struct strbuf line = STRBUF_INIT;
> +
> +	while (strbuf_getline(&line, stdin, '\n') != EOF)
> +		update_refs_stdin_parse_line(line.buf);
> +
> +	strbuf_release(&line);
> +}
> +
> +static void update_refs_stdin_read_z()
> +{

These need to be defined with explicit (void) argument list.

	static void foo(void)
        {
        	...