Debian Codegraph @

debian/patches/999_GCC-10-fix.patch

raw
1 --- a/gamut/gamut.h
2 +++ b/gamut/gamut.h
3 @@ -35,9 +35,9 @@
4
5 #define MAXGAMN 10 /* Maximum gamut point neighbors returned */
6 #define NSLOTS 6 /* Number of maximum direction slots */
7
8 -struct _vrml; /* Declared in vrml.h, which may be #included after this */
9 +extern struct _vrml; /* Declared in vrml.h, which may be #included after this */
10
11 /* ------------------------------------ */
12 #define NODE_STRUCT \
13 int tag; /* Type of node, 1 = vertex, 2 = quad */ \
14 --- a/spectro/vinflate.c
15 +++ b/spectro/vinflate.c
16 @@ -91,9 +91,9 @@
17 "uch *slide;" and then malloc'ed in the latter case.
18 */
19
20 #define WSIZE 0x8000
21 -static unsigned int wp; /* current position in slide */
22 +extern unsigned int wp; /* current position in slide */
23 static uch slide[32768];
24
25 static int vflush_output(unsigned int w) {
26 wp = w;
27 @@ -159,10 +159,10 @@
28 lookup, and so will not require that too many bits be pulled from
29 the stream.
30 */
31
32 -static ulg bb; /* bit buffer */
33 -static unsigned bk; /* bits in bit buffer */
34 +extern ulg bb; /* bit buffer */
35 +extern unsigned bk; /* bits in bit buffer */
36
37 static ush vmask_bits[] = {
38 0x0000,
39 0x0001, 0x0003, 0x0007, 0x000f, 0x001f, 0x003f, 0x007f, 0x00ff,
40 @@ -238,9 +238,9 @@
41 #define BMAX 16 /* maximum bit length of any code (16 for explode) */
42 #define N_MAX 288 /* maximum number of codes in any set */
43
44
45 -static unsigned hufts; /* track memory usage */
46 +extern unsigned hufts; /* track memory usage */
47
48 /* Given a list of code lengths and a maximum table size, make a set of
49 tables to decode that set of codes. Return zero on success, one if
50 the given code set is incomplete (the tables are still built in this