pkt-line.[ch]: remove unused packet_buf_write_len()
This function was added inf1f4d8acf4
(pkt-line: add packet_buf_write_len function, 2018-03-15) for use in0f1dc53f45
(remote-curl: implement stateless-connect command, 2018-03-15). Ina97d00799a
(remote-curl: use post_rpc() for protocol v2 also, 2019-02-21) that only user of it went away, let's remove it. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
af6d1d602a
commit
4f1d3e3e3b
@ -29,7 +29,6 @@ void packet_buf_delim(struct strbuf *buf);
|
||||
void set_packet_header(char *buf, int size);
|
||||
void packet_write(int fd_out, const char *buf, size_t size);
|
||||
void packet_buf_write(struct strbuf *buf, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
|
||||
void packet_buf_write_len(struct strbuf *buf, const char *data, size_t len);
|
||||
int packet_flush_gently(int fd);
|
||||
int packet_write_fmt_gently(int fd, const char *fmt, ...) __attribute__((format (printf, 2, 3)));
|
||||
int write_packetized_from_fd_no_flush(int fd_in, int fd_out);
|
||||
|
Reference in New Issue
Block a user