]> granicus.if.org Git - graphviz/commitdiff
smyrna: consistent use of 'static' on 'get_temp_coords'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 10 Nov 2021 15:22:29 +0000 (07:22 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 16 Nov 2021 14:52:28 +0000 (06:52 -0800)
This function was already declared static earlier in its containing file, but it
is clearer if all mentions of it are marked `static`.

cmd/smyrna/topfisheyeview.c

index 93e022ffd22c06177dffb8c44c9bb638011938f1..df1bc60eb5611bec47f26919ece0e83552da709a 100644 (file)
@@ -363,7 +363,7 @@ static void get_interpolated_coords(double x0, double y0, double x1, double y1,
     *y = y0 + (y1 - y0) / (double) total_fr *(double) (fr + 1);
 }
 
-int get_temp_coords(topview * t, int level, int v, double *coord_x,
+static int get_temp_coords(topview * t, int level, int v, double *coord_x,
                    double *coord_y)
 {
     Hierarchy *hp = t->fisheyeParams.h;