Patch to mark shared variables as "extern"
IOhannes m zmölnig (Debian/GNU)
3 years ago
|
0 |
Description: mark variables as 'extern' if needed
|
|
1 |
so they are not multiply-defined in the linker-stage
|
|
2 |
Author: IOhannes m zmölnig
|
|
3 |
Bug: https://github.com/x42/xjadeo/issues/41
|
|
4 |
Last-Update: 2020-08-19
|
|
5 |
---
|
|
6 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|
7 |
--- xjadeo.orig/src/xjadeo/configfile.c
|
|
8 |
+++ xjadeo/src/xjadeo/configfile.c
|
|
9 |
@@ -90,8 +90,8 @@
|
|
10 |
extern char OSD_text[128];
|
|
11 |
extern int OSD_fx, OSD_tx, OSD_sx, OSD_fy, OSD_sy, OSD_ty;
|
|
12 |
|
|
13 |
-int start_ontop;
|
|
14 |
-int start_fullscreen;
|
|
15 |
+extern int start_ontop;
|
|
16 |
+extern int start_fullscreen;
|
|
17 |
|
|
18 |
extern char *current_file;
|
|
19 |
#ifdef JACK_SESSION
|