From e951c2d6c3f891c00ae0dee58c89dca13b6ee353 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 30 Oct 2026 22:14:24 -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 2.12.1