File: 0001-Fix-wrapped_lines-variable-declaration-extern.patch

package info (click to toggle)
t4kcommon 0.1.1-13
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,472 kB
  • sloc: sh: 10,688; ansic: 7,087; makefile: 102; sed: 16
file content (26 lines) | stat: -rw-r--r-- 875 bytes parent folder | download | duplicates (4)
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
From f36ec174f4d8130749f11aeb1d77a81da4be89aa Mon Sep 17 00:00:00 2001
From: Antoni Villalonga <antoni@friki.cat>
Date: Mon, 31 Aug 2020 09:05:16 +0200
Subject: [PATCH] Fix wrapped_lines variable declaration (extern)

Signed-off-by: Holger Levsen <holger@layer-acht.org>
---
 src/t4k_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/t4k_common.h b/src/t4k_common.h
index 36d937b..68f6005 100644
--- a/src/t4k_common.h
+++ b/src/t4k_common.h
@@ -245,7 +245,7 @@ MFStrategy;
 #define MAX_LINES 128     //!< Maximum lines to wrap.
 #define MAX_LINEWIDTH 256 //!< Maximum characters of each line.
 
-char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines.
+extern char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines.
 
 //TODO separate headers for different areas a la SDL?
 
-- 
2.20.1