changeset 7894:3aba91eb5c1f

made gcd() static
author arpi
date Thu, 24 Oct 2002 17:34:01 +0000
parents fa65f25f748a
children fcd8c5d6795d
files libaf/af_resample.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af_resample.c	Thu Oct 24 10:05:09 2002 +0000
+++ b/libaf/af_resample.c	Thu Oct 24 17:34:01 2002 +0000
@@ -72,7 +72,7 @@
 } af_resample_t;
 
 // Euclids algorithm for calculating Greatest Common Divisor GCD(a,b)
-inline int gcd(register int a, register int b)
+static inline int gcd(register int a, register int b)
 {
   register int r = min(a,b);
   a=max(a,b);