From 0e497ef53fda1931985d46259660d85a6ea3e13b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:57:29 -0700 Subject: Drop cgit_read_first_line's unread size output --- source/shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/shared.h') diff --git a/source/shared.h b/source/shared.h index e22eb57..09e9296 100644 --- a/source/shared.h +++ b/source/shared.h @@ -98,7 +98,7 @@ extern void strbuf_ensure_end(struct strbuf *sb, char c); * Read the first line of a file into a newly allocated, zero terminated * buffer. Returns 0 on success and an errno value otherwise. */ -extern int cgit_read_first_line(const char *path, char **buf, size_t *size); +extern int cgit_read_first_line(const char *path, char **buf); extern char *cgit_strdup_first_line(const char *text); /* -- cgit