* lib/hash.c (check_tuning): Move declaration before statement.
Reported by Reuben Thomas.
Signed-off-by: Eric Blake <ebb9@byu.net>
+2009-10-05 Eric Blake <ebb9@byu.net>
+
+ hash: allow C89 compilation
+ * lib/hash.c (check_tuning): Move declaration before statement.
+ Reported by Reuben Thomas.
+
2009-10-05 Karl Berry <karl@gnu.org>
* doc/gnulib.texi: @include execvpe.texi, missing for several days.
check_tuning (Hash_table *table)
{
const Hash_tuning *tuning = table->tuning;
+ float epsilon;
if (tuning == &default_tuning)
return true;
fail to grow or shrink as they should. The smallest allocation
is 11 (due to next_prime's algorithm), so an epsilon of 0.1
should be good enough. */
- float epsilon = 0.1f;
+ epsilon = 0.1f;
if (epsilon < tuning->growth_threshold
&& tuning->growth_threshold < 1 - epsilon