summaryrefslogtreecommitdiff
path: root/x11-plugins/asclock/files/asclock-gcc41.patch
blob: 5a5291219ee551882353ff5b1c1c59ab96520b28 (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
34
35
36
37
38
39
40
41
42
43
44
diff -ur asclock-2.0.12-orig/asclock.h asclock-2.0.12/asclock.h
--- asclock-2.0.12-orig/asclock.h	2006-06-03 15:31:58.000000000 -0400
+++ asclock-2.0.12/asclock.h	2006-06-03 15:35:51.000000000 -0400
@@ -38,15 +38,15 @@
 #define INT_TYPE 0;
 
 /* the xpm data */
-extern char *clock_xpm[];
-extern char *month_xpm[];
-extern char *weekday_xpm[];
-extern char *led_xpm[];
-extern char *date_xpm[];
-extern char *hour_xpm[];
-extern char *minute_xpm[];
-extern char *second_xpm[];
-extern char *beats_xpm[];
+static char *clock_xpm[];
+static char *month_xpm[];
+static char *weekday_xpm[];
+static char *led_xpm[];
+static char *date_xpm[];
+static char *hour_xpm[];
+static char *minute_xpm[];
+static char *second_xpm[];
+static char *beats_xpm[];
 
 /* the filenames */
 extern char clock_xpm_fn[MAX_PATH_LEN];
diff -ur asclock-2.0.12-orig/themes/classic/beats.xpm asclock-2.0.12/themes/classic/beats.xpm
--- asclock-2.0.12-orig/themes/classic/beats.xpm	2006-06-03 15:31:58.000000000 -0400
+++ asclock-2.0.12/themes/classic/beats.xpm	2006-06-03 15:37:04.000000000 -0400
@@ -1 +1 @@
-char *beats_xpm[] = { NULL };
+static char *beats_xpm[] = { NULL };
diff -ur asclock-2.0.12-orig/themes/classic/led.xpm asclock-2.0.12/themes/classic/led.xpm
--- asclock-2.0.12-orig/themes/classic/led.xpm	2006-06-03 15:31:58.000000000 -0400
+++ asclock-2.0.12/themes/classic/led.xpm	2006-06-03 15:36:53.000000000 -0400
@@ -1,5 +1,5 @@
 /* XPM */
-char * led_xpm[] = {
+static char * led_xpm[] = {
 "135 11 3 1",
 " 	c #282828",
 "O	c #00df00",