File a2ac-myround.patch of Package a2ac

--- a2ac.c
+++ a2ac.c
@@ -137,7 +137,7 @@
   return;
 }
 
-int round (f)  /* the round function */
+int myround (f)  /* the round function */
 /*-----------*/
   double f;
 {
@@ -530,11 +530,11 @@
   ind += i;
   c[i] = save;
 
-  if (!isalpha (c[i])) return round (f);
+  if (!isalpha (c[i])) return myround (f);
 
   if ((c[i]=='b'||c[i]=='w'||c[i]=='h'||c[i]=='W'||c[i]=='k') && c[i+1] == '(')
-       return round (f * valF(&c[i])) ;
-  return round (f * valvar(&c[i])) ;
+       return myround (f * valF(&c[i])) ;
+  return myround (f * valvar(&c[i])) ;
 }
 
 int eval (c)  /* evaluates the simple expressinon */
openSUSE Build Service is sponsored by