From: Matthew Fernandez Date: Sun, 2 May 2021 02:35:13 +0000 (-0700) Subject: mark interpol function as static X-Git-Tag: 2.47.2~7^2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db6800392e93ffe9ff1f9eaa145818a915f1a4f1;p=graphviz mark interpol function as static This is not used outside of its containing file. --- diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index a77ae18e3..cf2b9174b 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -674,7 +674,7 @@ void glexpose(void) expose_event(view->drawing_area, NULL, NULL); } -float interpol(float minv, float maxv, float minc, float maxc, float x) +static float interpol(float minv, float maxv, float minc, float maxc, float x) { return ((x - minv) * (maxc - minc) / (maxv - minv) + minc); }