From: Junio C Hamano Date: Wed, 04 Sep 2013 19:17:06 GMT Subject: Re: [PATCH v4 7/8] update-ref: support multiple simultaneous updates Message-ID: In-Reply-To: Brad King 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) { ...