[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnulib] Re: [PATCH]: fix warning in the hash module

From: Jim Meyering
Subject: [bug-gnulib] Re: [PATCH]: fix warning in the hash module
Date: Mon, 16 May 2005 15:20:27 +0200

Yoann Vandoorselaere <address@hidden> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]