Debian Codegraph @

debian/patches/implicit-function-declaration

raw
1 commit 568f653a17722062666917b42444d97bb2a76fab
2 Author: Jaroslav Škarvada <[email protected]>
3 Date: Mon Feb 5 18:41:33 2024 +0100
4
5 Fixed build with gcc-14
6
7 Signed-off-by: Jaroslav Škarvada <[email protected]>
8
9 diff --git a/src/mag/mag.c b/src/mag/mag.c
10 index f3c8fc3..6aac3a7 100644
11 --- a/src/mag/mag.c
12 +++ b/src/mag/mag.c
13 @@ -20,6 +20,7 @@
14 *
15 */
16
17 +#include <stdlib.h>
18 #include <math.h>
19 #include <string.h>
20
21 diff --git a/src/mousepoll/mousepoll.c b/src/mousepoll/mousepoll.c
22 index d009ed2..eb513e1 100644
23 --- a/src/mousepoll/mousepoll.c
24 +++ b/src/mousepoll/mousepoll.c
25 @@ -20,6 +20,7 @@
26 *
27 */
28
29 +#include <stdlib.h>
30 #include <compiz-core.h>
31
32 #include "compiz-mousepoll.h"
33 diff --git a/src/opacify/opacify.c b/src/opacify/opacify.c
34 index a4fb86c..3b96208 100644
35 --- a/src/opacify/opacify.c
36 +++ b/src/opacify/opacify.c
37 @@ -21,6 +21,7 @@
38 *
39 */
40
41 +#include <stdlib.h>
42 #include <compiz-core.h>
43 #include "opacify_options.h"
44
45 diff --git a/src/scaleaddon/scaleaddon.c b/src/scaleaddon/scaleaddon.c
46 index 8029fa4..d97fe11 100644
47 --- a/src/scaleaddon/scaleaddon.c
48 +++ b/src/scaleaddon/scaleaddon.c
49 @@ -24,6 +24,7 @@
50 *
51 */
52
53 +#include <stdlib.h>
54 #include <math.h>
55 #include <string.h>
56 #include <X11/Xatom.h>
57 diff --git a/src/session/session.c b/src/session/session.c
58 index 7d1d6e9..bac2c0a 100644
59 --- a/src/session/session.c
60 +++ b/src/session/session.c
61 @@ -29,6 +29,7 @@
62
63 #include <compiz-core.h>
64
65 +#include <stdlib.h>
66 #include <string.h>
67 #include <errno.h>
68 #include <pwd.h>
69 diff --git a/src/vpswitch/vpswitch.c b/src/vpswitch/vpswitch.c
70 index 92faf48..3411671 100644
71 --- a/src/vpswitch/vpswitch.c
72 +++ b/src/vpswitch/vpswitch.c
73 @@ -27,6 +27,7 @@
74 */
75
76 #include <compiz-core.h>
77 +#include <stdlib.h>
78 #include <string.h>
79 #include <X11/keysymdef.h>
80 #include "vpswitch_options.h"
81 diff --git a/src/winrules/winrules.c b/src/winrules/winrules.c
82 index d64623e..8a47b0a 100644
83 --- a/src/winrules/winrules.c
84 +++ b/src/winrules/winrules.c
85 @@ -21,6 +21,7 @@
86
87 #include <compiz-core.h>
88
89 +#include <stdlib.h>
90 #include <X11/Xatom.h>
91
92 #define WINRULES_SCREEN_OPTION_SKIPTASKBAR_MATCH 0
93 diff --git a/src/workarounds/workarounds.c b/src/workarounds/workarounds.c
94 index 125c072..af92b26 100644
95 --- a/src/workarounds/workarounds.c
96 +++ b/src/workarounds/workarounds.c
97 @@ -20,6 +20,7 @@
98 * This plug-in for Marco-like workarounds.
99 */
100
101 +#include <stdlib.h>
102 #include <string.h>
103 #include <limits.h>
104