+2005-10-09 Russ Allbery <rra@stanford.edu>
+
+ * snprintf.c: Remove round to round_int and pow10 to pow10_int, to
+ avoid warnings from GCC 4.0.
+
2005-10-05 Mauro Tortonesi <mauro@ferrara.linux.it>
* retr.c: Changed semantics of no_proxy_match.
return result;
}
-static LDOUBLE pow10 (int exp)
+static LDOUBLE pow10_int (int exp)
{
LDOUBLE result = 1;
return result;
}
-static LLONG round (LDOUBLE value)
+static LLONG round_int (LDOUBLE value)
{
LLONG intpart;
max = MAX_DIGITS;
/* Factor of 10 with the needed number of digits, e.g. 1000 for max==3 */
- mask10 = pow10 (max);
+ mask10 = pow10_int (max);
/* We "cheat" by converting the fractional part to integer by
* multiplying by a factor of 10
*/
- fracpart = round (mask10 * (ufvalue - intpart));
+ fracpart = round_int (mask10 * (ufvalue - intpart));
if (fracpart >= mask10)
{