aboutsummaryrefslogtreecommitdiff
path: root/misc/utimer/utimer-0.4-fno-common.patch
blob: a8386fe8e2155cc9d884b249398f6b25c14ed679 (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
--- a/src/utimer.h
+++ b/src/utimer.h
@@ -66,9 +66,9 @@
 #define TIMER_PRINT_RATE_MSEC  79
 #define TIMER_CHECK_RATE_MSEC  500
 
-GMainLoop         *loop;
-gboolean          paused;
-struct termios    savedttystate;
-Config            ut_config;
+extern GMainLoop         *loop;
+extern gboolean          paused;
+extern struct termios    savedttystate;
+extern Config            ut_config;
 
 #endif /* UTIMER_H */
--- a/src/utils.c
+++ b/src/utils.c
@@ -36,6 +36,10 @@
 #include "utils.h"
 #include "utimer.h"
 
+GMainLoop         *loop;
+gboolean          paused;
+struct termios    savedttystate;
+Config            ut_config;
 
 gulong ul_add (gulong a, gulong b)
 {