From 8c4b470889b166dcb461efbdeec3ea0c8fc9b03d Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 27 Feb 2020 21:30:28 +0100 Subject: tif_dirwrite.c: qualify ToRationalEuclideanGCD() with static --- libtiff/tif_dirwrite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libtiff/tif_dirwrite.c b/libtiff/tif_dirwrite.c index 6de1f7ea..d86c7b8f 100644 --- a/libtiff/tif_dirwrite.c +++ b/libtiff/tif_dirwrite.c @@ -2704,6 +2704,7 @@ void DoubleToSrational_direct(double value, long *num, long *denom) * Calculates the rational fractional of a double input value * using the Euclidean algorithm to find the greatest common divisor (GCD) ------------------------------------------------------------------------*/ +static void ToRationalEuclideanGCD(double value, int blnUseSignedRange, int blnUseSmallRange, unsigned long long *ullNum, unsigned long long *ullDenom) { /* Internally, the integer variables can be bigger than the external ones, -- cgit v1.2.1