]>
Commit | Line | Data |
---|---|---|
85f030ab JB |
1 | --- cinepaint/plug-ins/hdr/fromrad.h.orig 2008-05-22 06:20:12.000000000 +0200 |
2 | +++ cinepaint/plug-ins/hdr/fromrad.h 2023-08-30 20:25:19.605591194 +0200 | |
3 | @@ -184,7 +184,6 @@ struct check { | |
4 | * Read and write image resolutions. | |
5 | */ | |
6 | ||
7 | -char resolu_buf[RESOLU_BUFLEN]; /* resolution line buffer */ | |
8 | ||
9 | //---------------------------------------------- | |
10 | ||
11 | --- cinepaint/plug-ins/hdr/fromrad.c.orig 2005-04-05 09:38:17.000000000 +0200 | |
12 | +++ cinepaint/plug-ins/hdr/fromrad.c 2023-08-30 20:25:19.708923968 +0200 | |
13 | @@ -24,6 +24,7 @@ | |
14 | ||
15 | int expadj = 0; | |
16 | char FMTSTR[] = "FORMAT="; | |
17 | +char resolu_buf[RESOLU_BUFLEN]; /* resolution line buffer */ | |
18 | ||
19 | ||
20 | #if 0 | |
21 | --- cinepaint/plug-ins/iol/iol.h.orig 2006-12-23 08:14:10.000000000 +0100 | |
22 | +++ cinepaint/plug-ins/iol/iol.h 2023-08-30 21:02:38.336796280 +0200 | |
23 | @@ -50,24 +50,24 @@ typedef struct { | |
24 | char *name; | |
25 | } s_table_t; | |
26 | ||
27 | -code_t *code; | |
28 | -float stack[512], vars[NUM_SYMBOLS]; | |
29 | -int pc; /* the program counter */ | |
30 | +extern code_t *code; | |
31 | +extern float stack[512], vars[NUM_SYMBOLS]; | |
32 | +extern int pc; /* the program counter */ | |
33 | ||
34 | -s_table_t s_table[NUM_SYMBOLS]; | |
35 | +extern s_table_t s_table[NUM_SYMBOLS]; | |
36 | ||
37 | -int lineno; | |
38 | -char *iol_input, *iol_input_ptr; | |
39 | -unsigned int iol_input_lim; | |
40 | -int input_size; | |
41 | +extern int lineno; | |
42 | +extern char *iol_input, *iol_input_ptr; | |
43 | +extern unsigned int iol_input_lim; | |
44 | +extern int input_size; | |
45 | ||
46 | -iol_vals ivals; | |
47 | -iol_color in_color,out_color; | |
48 | +extern iol_vals ivals; | |
49 | +extern iol_color in_color,out_color; | |
50 | ||
51 | -int dialog_status; | |
52 | -int do_out; | |
53 | +extern int dialog_status; | |
54 | +extern int do_out; | |
55 | ||
56 | -int xsize, ysize, xpos, ypos; | |
57 | +extern int xsize, ysize, xpos, ypos; | |
58 | ||
59 | /* in main.c */ | |
60 | int iol_process(void); | |
61 | --- cinepaint/plug-ins/iol/fg.h.orig 2006-09-25 19:03:37.000000000 +0200 | |
62 | +++ cinepaint/plug-ins/iol/fg.h 2023-08-30 21:20:14.604407321 +0200 | |
63 | @@ -25,16 +25,16 @@ | |
64 | #include <libgimp/gimp.h> | |
65 | #include <libgimp/gimpui.h> | |
66 | ||
67 | -GDrawable *drawable; | |
68 | -GPrecisionType precision; | |
69 | -gint num_channels; | |
70 | -gint32 drawable_ID; | |
71 | -GRunModeType run_mode; | |
72 | +extern GDrawable *drawable; | |
73 | +extern GPrecisionType precision; | |
74 | +extern gint num_channels; | |
75 | +extern gint32 drawable_ID; | |
76 | +extern GRunModeType run_mode; | |
77 | ||
78 | -guchar *src_row, *dest_row; | |
79 | -guint8 *srcu8, *destu8; | |
80 | -guint16 *srcu16, *destu16; | |
81 | -guint16 *srcf16, *destf16; | |
82 | -gfloat *srcf32, *destf32; | |
83 | +extern guchar *src_row, *dest_row; | |
84 | +extern guint8 *srcu8, *destu8; | |
85 | +extern guint16 *srcu16, *destu16; | |
86 | +extern guint16 *srcf16, *destf16; | |
87 | +extern gfloat *srcf32, *destf32; | |
88 | ||
89 | #endif /* _FG_H_ */ | |
90 | --- cinepaint/plug-ins/iol/main.c.orig 2006-10-05 22:30:42.000000000 +0200 | |
91 | +++ cinepaint/plug-ins/iol/main.c 2023-08-30 21:20:48.824221936 +0200 | |
92 | @@ -72,6 +72,37 @@ | |
93 | if(u > 1.0) u = 1.0; \ | |
94 | if(u < 0.0) u = 0.0 | |
95 | ||
96 | +code_t *code; | |
97 | +float stack[512], vars[NUM_SYMBOLS]; | |
98 | +int pc; /* the program counter */ | |
99 | + | |
100 | +s_table_t s_table[NUM_SYMBOLS]; | |
101 | + | |
102 | +int lineno; | |
103 | +char *iol_input, *iol_input_ptr; | |
104 | +unsigned int iol_input_lim; | |
105 | +int input_size; | |
106 | + | |
107 | +iol_vals ivals; | |
108 | +iol_color in_color,out_color; | |
109 | + | |
110 | +int dialog_status; | |
111 | +int do_out; | |
112 | + | |
113 | +int xsize, ysize, xpos, ypos; | |
114 | + | |
115 | +GDrawable *drawable; | |
116 | +GPrecisionType precision; | |
117 | +gint num_channels; | |
118 | +gint32 drawable_ID; | |
119 | +GRunModeType run_mode; | |
120 | + | |
121 | +guchar *src_row, *dest_row; | |
122 | +guint8 *srcu8, *destu8; | |
123 | +guint16 *srcu16, *destu16; | |
124 | +guint16 *srcf16, *destf16; | |
125 | +gfloat *srcf32, *destf32; | |
126 | + | |
127 | /* Declare local functions. | |
128 | */ | |
129 | static void query(void); | |
130 | --- cinepaint/app/interface.c.orig 2007-11-09 16:24:27.000000000 +0100 | |
131 | +++ cinepaint/app/interface.c 2023-08-31 19:38:22.829448670 +0200 | |
132 | @@ -313,7 +313,6 @@ gint num_tools = NUM_TOOLS;//sizeof (too | |
133 | */ | |
134 | GtkWidget *tool_widgets[NUM_TOOLS+NUM_TOOLS_NONVIS]; | |
135 | GtkWidget *tool_label; | |
136 | -GtkTooltips *tool_tips; | |
137 | ||
138 | /* The popup shell is a pointer to the gdisplay shell that posted the latest | |
139 | * popup menu. When this is null, and a command is invoked, then the |