From 867c93c1b38e7f4109004f6187300ba243f28f56 Mon Sep 17 00:00:00 2001 From: Felisp Date: Thu, 23 Nov 2023 00:35:14 +0100 Subject: [PATCH] Remove static from function definition according to SO answer Patch from https://stackoverflow.com/questions/16378555/error-while-compiling-svga-source --- utils/gtf/gtfcalc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/gtf/gtfcalc.c b/utils/gtf/gtfcalc.c index 217eac7..e409578 100644 --- a/utils/gtf/gtfcalc.c +++ b/utils/gtf/gtfcalc.c @@ -64,7 +64,7 @@ static GTF_constants GC = { /*-------------------------- Implementation -------------------------------*/ -static double round(double v) +double round(double v) { return floor(v + 0.5); }