From db6800392e93ffe9ff1f9eaa145818a915f1a4f1 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 1 May 2021 19:35:13 -0700 Subject: [PATCH] mark interpol function as static This is not used outside of its containing file. --- cmd/smyrna/viewport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.40.0