]> granicus.if.org Git - graphviz/commitdiff
add a return value to assignTracks
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Apr 2021 02:53:05 +0000 (19:53 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 14 May 2021 00:03:36 +0000 (17:03 -0700)
Related to #1801.

lib/ortho/ortho.c

index b8cee0f0d4cb7f04a32f568e8078dd1611541ecb..f760d13b3bd9fa8f68434ff0f6d16da15eeeca42 100644 (file)
@@ -1072,7 +1072,7 @@ add_p_edges (Dt_t* chans, maze* mp)
     }
 }
 
-static void
+static int
 assignTracks (maze* mp)
 {
     /* Create the graphs for each channel */
@@ -1090,6 +1090,8 @@ assignTracks (maze* mp)
     /* Assign the tracks after a top sort */
     assignTrackNo (mp->hchans);
     assignTrackNo (mp->vchans);
+
+    return 0;
 }
 
 static double