blob: 32a24b4be1fc154c185e426dd5497802937cb4a7 [file] [log] [blame]
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05001From 95ed4b743f197e20f1884a326d5a7128187a7ba6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Aug 2020 17:56:30 -0700
4Subject: [PATCH] lbx_zlib: Mark declration with extern
5
6Fixes build with gcc10/-fno-common
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/lbx_zlib/lbx_zlib.h | 12 ++++++------
12 1 file changed, 6 insertions(+), 6 deletions(-)
13
14diff --git a/src/lbx_zlib/lbx_zlib.h b/src/lbx_zlib/lbx_zlib.h
15index 8ae8956..bec3b96 100644
16--- a/src/lbx_zlib/lbx_zlib.h
17+++ b/src/lbx_zlib/lbx_zlib.h
18@@ -136,9 +136,9 @@ extern void Xfree(pointer /*ptr*/);
19 #endif
20
21 /* lbx_zlib.c */
22-unsigned long stream_out_compressed;
23-unsigned long stream_out_uncompressed;
24-unsigned long stream_out_plain;
25-unsigned long stream_in_compressed;
26-unsigned long stream_in_uncompressed;
27-unsigned long stream_in_plain;
28+extern unsigned long stream_out_compressed;
29+extern unsigned long stream_out_uncompressed;
30+extern unsigned long stream_out_plain;
31+extern unsigned long stream_in_compressed;
32+extern unsigned long stream_in_uncompressed;
33+extern unsigned long stream_in_plain;
34--
352.28.0
36