ports/devel/libowfat/patches/patch-buffer_buffer_0small_c

13 lines
370 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: buffer/buffer_0small.c
--- buffer/buffer_0small.c.orig
+++ buffer/buffer_0small.c
@@ -6,7 +6,7 @@ static ssize_t b0read(int fd,char* buf, size_t len) {
return read(fd,buf,len);
}
-char buffer_0_space[128];
+static char buffer_0_space[128];
static buffer it = BUFFER_INIT_READ(b0read,0,buffer_0_space,sizeof buffer_0_space);
buffer *buffer_0small = ⁢