File: 0009-buffer-export-missing-symbols.patch

package info (click to toggle)
libowfat 0.34-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,296 kB
  • sloc: ansic: 20,181; makefile: 15
file content (41 lines) | stat: -rw-r--r-- 1,385 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From: Agathe Porte <gagath@debian.org>
Date: Fri, 3 Oct 2025 16:43:02 +0200
Subject: buffer: export missing symbols

These symbols were exported in the past and have been moved to static,
but not all of the buffers have been. Continue to export them as long as
not all of them have moved to static upstream instead of doing a
premature sobump.

Signed-off-by: Agathe Porte <gagath@debian.org>
---
 buffer/buffer_0.c      | 2 +-
 buffer/buffer_0small.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/buffer/buffer_0.c b/buffer/buffer_0.c
index 8f5f94f..a4326d4 100644
--- a/buffer/buffer_0.c
+++ b/buffer/buffer_0.c
@@ -6,7 +6,7 @@ static ssize_t b0read(int fd,char* buf, size_t len) {
   return read(fd,buf,len);
 }
 
-static char buffer_0_space[BUFFER_INSIZE];
+char buffer_0_space[BUFFER_INSIZE];
 static buffer it = BUFFER_INIT_READ(b0read,0,buffer_0_space,sizeof buffer_0_space);
 buffer *buffer_0 = &it;
 
diff --git a/buffer/buffer_0small.c b/buffer/buffer_0small.c
index 4dd1527..d128dd5 100644
--- a/buffer/buffer_0small.c
+++ b/buffer/buffer_0small.c
@@ -6,7 +6,7 @@ static ssize_t b0read(int fd,char* buf, size_t len) {
   return read(fd,buf,len);
 }
 
-static char buffer_0small_space[128];
+char buffer_0small_space[128];
 static buffer it = BUFFER_INIT_READ(b0read,0,buffer_0small_space,sizeof buffer_0small_space);
 buffer *buffer_0small = &it;