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
|
Description: upstream - fix migration to C23 issues
Clean up some ambiguous declarations/definitions that are no
more acceptable by C23. This patch closes Debian bug #1096598.
Origin: vendor, Debian
Forwarded: unresponsive uptream team
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2025-06-05
--- a/src/painter.c
+++ b/src/painter.c
@@ -2222,7 +2222,7 @@
{ /* do vertex event */
next_u = vis_vertices[vertex_event_spot].x[0];
if ( (next_u - sweep_u) > 1e-10 )
- check_visible((next_u+sweep_u)/2);
+ check_visible(/* (next_u+sweep_u)/2 */);
sweep_u = next_u;
retval = handle_vertex_event(vis_vertices+vertex_event_spot);
if ( retval < 0 )
@@ -2237,7 +2237,7 @@
next_u = vis_heap[0].time;
if ( (next_u - sweep_u) > 1e-10 )
- check_visible((next_u+sweep_u)/2);
+ check_visible(/* (next_u+sweep_u)/2 */);
e1 = vis_heap[0].e1;
e2 = vis_heap[0].e2;
vis_delete_heap(0);
--- a/src/mindeg.c
+++ b/src/mindeg.c
@@ -79,7 +79,7 @@
static REAL total_flops; /* total operation count, counting mul+add as 2 */
static int passes; /* number of times through main loop */
-void dsolve();
+void dsolve(struct linsys *S);
extern int mindeg_debug_level; /*
0 none
1 print lowest degree
|