Yoann Vandoorselaere <[EMAIL PROTECTED]> wrote:
> This patch fix constness warning in the GnuLib hash module.

I'm all for avoiding warnings, but not when it detracts from what I
think of as the correctness of an interface, as it would in this case.

Those `const void *entry' parameters constitute a promise
by the hash module that it will not try to write through
those pointers.  Removing `const' here might make users of
these functions wonder whether the functions write through
the void pointers.

Thanks anyway.


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to