From 08ce54211ce4b8d6092321ca1b28773a680ddc45 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Tue, 9 Jul 2024 16:05:46 +0200 Subject: Added missing function prototype signatures. Corrected socket_broadcast name to socket_broadcast4 in socket_if.h. Added const to fmt_str. --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index 036b298..f094213 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -21,7 +21,7 @@ void buffer_init(buffer *s, ssize_t (*op)(), int fd, char *buf, size_t len) s->n = len; } -ssize_t buffer_0_read(int fd, char *buf, size_t len) +static ssize_t buffer_0_read(int fd, char *buf, size_t len) { if (buffer_flush(buffer_1) == -1) return -1; return read(fd, buf, len); -- cgit v1.2.3