summaryrefslogtreecommitdiff
path: root/x11-plugins/wmmp3/files/wmmp3-0.12-fno-common.patch
blob: 2179b9e30dd2f3ebf5aaa81d5e2f22a9f72c7aeb (plain)
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
diff -Naur wmmp3-0.12.orig/wmgeneral.c wmmp3-0.12/wmgeneral.c
--- wmmp3-0.12.orig/wmgeneral.c	1999-10-08 07:58:16.000000000 +0200
+++ wmmp3-0.12/wmgeneral.c	2020-05-08 19:16:45.911950119 +0200
@@ -58,6 +58,11 @@
  /* X11 Variables */
 /*****************/
 
+Display *display;
+Window Root, iconwin, win;
+XpmIcon wmgen;
+XpmIcon wmfont;
+
 int screen;
 int x_fd;
 int d_depth;
diff -Naur wmmp3-0.12.orig/wmgeneral.h wmmp3-0.12/wmgeneral.h
--- wmmp3-0.12.orig/wmgeneral.h	1999-10-08 07:58:18.000000000 +0200
+++ wmmp3-0.12/wmgeneral.h	2020-05-08 19:16:53.693959618 +0200
@@ -41,10 +41,10 @@
  /* Global variable */
 /*******************/
 
-Display *display;
-Window Root, iconwin, win;
-XpmIcon wmgen;
-XpmIcon wmfont;
+extern Display *display;
+extern Window Root, iconwin, win;
+extern XpmIcon wmgen;
+extern XpmIcon wmfont;
 
 /***********************/
  /* Function Prototypes */