Ensure variables are only declared once
Closes: #957409
Stephen Kitt
3 years ago
|
0 |
koules (1.4-27) UNRELEASED; urgency=medium
|
|
1 |
|
|
2 |
* Ensure variables are only declared once. Closes: #957409.
|
|
3 |
|
|
4 |
-- Stephen Kitt <skitt@debian.org> Sat, 16 May 2020 17:37:33 +0200
|
|
5 |
|
0 | 6 |
koules (1.4-26) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* Avoid building libutils.a and libxlib.a twice. Building them twice
|
|
0 |
Description: Only declare controls once
|
|
1 |
Author: Stephen Kitt <skitt@debian.org>
|
|
2 |
|
|
3 |
--- a/koules.c
|
|
4 |
+++ b/koules.c
|
|
5 |
@@ -50,7 +50,7 @@
|
|
6 |
|
|
7 |
int lastlevel = 0, maxlevel = 0;
|
|
8 |
unsigned char control[MAXROCKETS];
|
|
9 |
-struct control controls[MAXROCKETS];
|
|
10 |
+extern struct control controls[MAXROCKETS];
|
|
11 |
int dosprings = 0;
|
|
12 |
int randsprings = 0;
|
|
13 |
int nomouse = 0;
|
15 | 15 |
112_unsigned_control.diff
|
16 | 16 |
113_spelling_fixes.diff
|
17 | 17 |
114_destdir.diff
|
|
18 |
double-declaration.patch
|