From: Matthew Fernandez Date: Wed, 10 Nov 2021 15:22:29 +0000 (-0800) Subject: smyrna: consistent use of 'static' on 'get_temp_coords' X-Git-Tag: 2.50.0~31^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0e7dd0d0bd3e145f30f5d0a01a70efc09ef22f1;p=graphviz smyrna: consistent use of 'static' on 'get_temp_coords' This function was already declared static earlier in its containing file, but it is clearer if all mentions of it are marked `static`. --- diff --git a/cmd/smyrna/topfisheyeview.c b/cmd/smyrna/topfisheyeview.c index 93e022ffd..df1bc60eb 100644 --- a/cmd/smyrna/topfisheyeview.c +++ b/cmd/smyrna/topfisheyeview.c @@ -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;